Skip to content

Commit e0ebc7b

Browse files
committed
Add debug profile for qtpy_s3_n4r2
1 parent 708b9de commit e0ebc7b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

platformio.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,28 @@ board = adafruit_qtpy_esp32s3_n4r2
340340
build_flags = -DARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2 -DBOARD_HAS_PSRAM
341341
extra_scripts = pre:rename_usb_config.py
342342

343+
[env:adafruit_qtpy_esp32s3_with_psram_debug]
344+
extends = common:esp32
345+
board = adafruit_qtpy_esp32s3_n4r2
346+
board_build.partitions = tinyuf2-partitions-4MB-noota.csv
347+
build_type = debug
348+
build_flags =
349+
-DARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2
350+
-DBOARD_HAS_PSRAM
351+
-DCFG_TUSB_DEBUG=1
352+
-DNDEBUG=1
353+
-DDEBUG=1
354+
-DESP_LOG_LEVEL=5
355+
-DARDUINO_CORE_DEBUG_LEVEL=5
356+
-DARDUINO_DEBUG_LEVEL=5
357+
-DARDUINO_DEBUG_OUTPUT=Serial1
358+
-DARDUINO_DEBUG_BAUD=115200
359+
-DARDUINO_LOG_LEVEL=5
360+
-DCORE_DEBUG_LEVEL=5
361+
-DARDUHAL_LOG_LEVEL=5
362+
extra_scripts = pre:rename_usb_config.py
363+
364+
343365
; Espressif ESP32-S3 NO PSRAM espressif_esp32s3_devkitc_1_n8
344366
[env:espressif_esp32s3_devkitc_1_n8]
345367
extends = common:esp32

0 commit comments

Comments
 (0)