@@ -101,9 +101,7 @@ lib_deps =
101101
102102; Common build environment for ESP32 platform
103103[common:esp32]
104- platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
105- ; ;Funhouse uses 3.0.7 of arduino-esp32 for now:
106- ; platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
104+ platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30-alpha1/platform-espressif32.zip
107105; This is needed for occasional new features and bug fixes
108106; platform = https://github.com/pioarduino/platform-espressif32#develop
109107lib_ignore = WiFiNINA, WiFi101, OneWire
@@ -175,6 +173,28 @@ build_flags =
175173board_build.filesystem = littlefs
176174board_build.partitions = min_spiffs.csv
177175
176+ ; Espressif ESP32-C5 8MB FLASH 2MB PSRAM ESP32-C5-DevKitC-1
177+ [env:espressif_esp32-c5-devkitc-1]
178+ extends = common:esp32
179+ board = esp32-c5-devkitc-1
180+ build_type = debug
181+ board_build.f_flash = 80000000L
182+ build_flags =
183+ -DARDUINO_ESPRESSIF_ESP32C5_DEVKITC_1
184+ -DARDUINO_ESP32C5_DEV
185+ -DBOARD_HAS_PSRAM
186+ -DDEBUG =1
187+ -DESP_LOG_LEVEL =5
188+ -DARDUINO_CORE_DEBUG_LEVEL =5
189+ -DARDUINO_DEBUG_LEVEL =5
190+ -DARDUINO_LOG_LEVEL =5
191+ -DCORE_DEBUG_LEVEL =5
192+ -DARDUHAL_LOG_LEVEL =5
193+ board_build.filesystem = littlefs
194+ board_build.partitions = min_spiffs.csv
195+
196+
197+
178198; Espressif ESP32-C6 4MB NO PSRAM esp32-c6-devkitm-1
179199[env:espressif_esp32-c6-devkitm-1]
180200extends = common:esp32
@@ -183,7 +203,6 @@ build_type = debug
183203build_flags =
184204 -DARDUINO_ESPRESSIF_ESP32C6_DEVKITM_1
185205 -DARDUINO_ADAFRUIT_FEATHER_ESP32C6
186- -DNDEBUG =1
187206 -DDEBUG =1
188207 -DESP_LOG_LEVEL =5
189208 -DARDUINO_CORE_DEBUG_LEVEL =5
@@ -194,6 +213,8 @@ build_flags =
194213board_build.filesystem = littlefs
195214board_build.partitions = min_spiffs.csv
196215
216+
217+
197218; Adafruit Feather ESP32-S2
198219[env:featheresp32s2]
199220extends = common:esp32
@@ -297,6 +318,35 @@ build_flags = -DARDUINO_FUNHOUSE -DBOARD_HAS_PSRAM
297318board_build.partitions = tinyuf2-partitions-4MB-noota.csv
298319extra_scripts = pre:rename_usb_config.py
299320
321+ ; Adafruit Funhouse ESP32-S2
322+ [env:adafruit_funhouse_esp32s2_debug]
323+ extends = common:esp32
324+ board = adafruit_funhouse_esp32s2
325+ ; lib_extra_dirs =
326+ build_type = debug
327+ build_flags =
328+ -DARDUINO_FUNHOUSE
329+ -DBOARD_HAS_PSRAM
330+ -DCFG_TUSB_DEBUG =1
331+ -DDEBUG =1
332+ -DESP_LOG_LEVEL =ESP_LOG_VERBOSE
333+ -DARDUINO_CORE_DEBUG_LEVEL =5
334+ -DCORE_DEBUG_LEVEL =5
335+ -DARDUHAL_LOG_LEVEL =5
336+ ; USB Configuration
337+ ; Uncomment if USB CDC on boot is needed
338+ ; -DARDUINO_USB_CDC_ON_BOOT=1
339+ ; -DARDUINO_USB_MODE=0 ; 0 for CDC + TinyUSB, 1 for Hardware CDC + JTAG
340+ ; LVGL Debugging
341+ -DLV_USE_DEBUG =1
342+ -DLV_USE_LOG =1
343+ -DLV_LOG_PRINTF =1
344+ -DLV_LOG_COLOR =1
345+ -DLV_LOG_LEVEL =LV_LOG_LEVEL_TRACE
346+ ; set partition to tinyuf2-partitions-4MB.csv as of idf 5.1
347+ board_build.partitions = tinyuf2-partitions-4MB-noota.csv
348+ extra_scripts = pre:rename_usb_config.py
349+
300350; Adafruit QT Py ESP32 Pico
301351[env:adafruit_qtpy_esp32]
302352extends = common:esp32
@@ -374,7 +424,6 @@ build_flags =
374424 -DARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2
375425 -DBOARD_HAS_PSRAM
376426 -DCFG_TUSB_DEBUG =1
377- -DNDEBUG =1
378427 -DDEBUG =1
379428 -DESP_LOG_LEVEL =5
380429 -DARDUINO_CORE_DEBUG_LEVEL =5
@@ -495,7 +544,6 @@ build_flags = -DUSE_TINYUSB
495544 -DARDUINO_USB_CDC_ON_BOOT =1
496545 -DCFG_TUSB_DEBUG =1
497546 -DDEBUG =1
498- -DNDEBUG =1
499547 -DUSE_AIRLIFT =1
500548 -g
501549 ; -DUSBCON
@@ -563,7 +611,6 @@ build_flags =
563611 -DDEBUG_RP2040_SPI
564612 -DDEBUG_RP2040_CORE
565613 -DDEBUG_RP2040_WIFI
566- -DNDEBUG
567614 -DLWIP_DEBUG =1
568615 -DDEBUG_RP2040_PORT =Serial1
569616 -DDEBUG_RP2040_UART_1
@@ -619,7 +666,6 @@ build_flags =
619666 ; -DDEBUG_RP2040_SPI
620667 ; -DDEBUG_RP2040_CORE
621668 ; -DDEBUG_RP2040_WIFI
622- ; -DNDEBUG
623669 ; -DLWIP_DEBUG
624670 ; -DDEBUG_RP2040_PORT=Serial1
625671 ; -DDEBUG_RP2040_UART_1
0 commit comments