From ad4a9d88b422064ade1f2967cca58b853382e039 Mon Sep 17 00:00:00 2001 From: pmantoine Date: Wed, 3 Aug 2022 16:21:58 +0800 Subject: [PATCH] ESP32 platformio initial build info --- platformio.ini | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/platformio.ini b/platformio.ini index 6b8796c..0a38cf8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -17,6 +17,7 @@ default_envs = nano samd21-dev-usb samd21-zero-usb + ESP32 src_dir = . include_dir = . @@ -28,22 +29,20 @@ platform = atmelsam board = sparkfun_samd21_dev_usb framework = arduino upload_protocol = sam-ba -lib_deps = - ${env.lib_deps} +lib_deps = ${env.lib_deps} monitor_speed = 115200 monitor_flags = --echo -build_flags = -std=c++17 +build_flags = -std=c++17 [env:samd21-zero-usb] platform = atmelsam board = zeroUSB framework = arduino upload_protocol = sam-ba -lib_deps = - ${env.lib_deps} +lib_deps = ${env.lib_deps} monitor_speed = 115200 monitor_flags = --echo -build_flags = -std=c++17 +build_flags = -std=c++17 [env:samc21-firebox] platform = atmelsam @@ -55,7 +54,7 @@ lib_deps = SparkFun External EEPROM Arduino Library monitor_speed = 115200 monitor_flags = --echo -build_flags = -std=c++17 +build_flags = -std=c++17 [env:mega2560-debug] platform = atmelavr @@ -156,7 +155,13 @@ platform = atmelavr board = nanoatmega328new board_upload.maximum_size = 32256 framework = arduino -lib_deps = - ${env.lib_deps} +lib_deps = ${env.lib_deps} monitor_speed = 115200 monitor_flags = --echo + +[env:ESP32] +platform = espressif32 +board = esp32dev +framework = arduino +lib_deps = ${env.lib_deps} +build_flags = -std=c++17 \ No newline at end of file