diff --git a/platformio.ini b/platformio.ini index 6124237ee..18c993abf 100644 --- a/platformio.ini +++ b/platformio.ini @@ -77,11 +77,12 @@ lib_deps = https://github.com/adafruit/WiFiNINA.git https://github.com/Starmbi/hp_BH1750.git + ; Common build environment for ESP32 platform [common:esp32] -platform = espressif32 @ ^6.6.0 +platform = https://github.com/platformio/platform-espressif32.git#develop platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-rc1 + platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.2 platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 lib_ignore = WiFiNINA monitor_filters = esp32_exception_decoder, time @@ -249,6 +250,27 @@ board = adafruit_qtpy_esp32s3_nopsram build_flags = -DARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM extra_scripts = pre:rename_usb_config.py +; Espressif ESP32-S3 NO PSRAM espressif_esp32s3_devkitc_1_n8 +[env:espressif_esp32s3_devkitc_1_n8] +extends = common:esp32 +board = esp32-s3-devkitc-1 +build_type = debug +build_flags = + -DUSE_TINYUSB=1 + -DARDUINO_ESPRESSIF_ESP32S3_DEVKITC_1_N8 + -DNDEBUG=1 + -DDEBUG=1 + -DESP_LOG_LEVEL=5 + -DARDUINO_CORE_DEBUG_LEVEL=5 + -DARDUINO_DEBUG_LEVEL=5 + ; -DARDUINO_DEBUG_OUTPUT=Serial + ; -DARDUINO_DEBUG_BAUD=115200 + -DARDUINO_LOG_LEVEL=5 + -DCORE_DEBUG_LEVEL=5 + -DARDUHAL_LOG_LEVEL=5 +board_build.partitions = tinyuf2-partitions-8MB.csv +extra_scripts = pre:rename_usb_config.py + ; ESP8266 Boards ; Adafruit Feather HUZZAH ESP8266