58 lines
2.1 KiB
INI
58 lines
2.1 KiB
INI
; ============================================================
|
||
; PlatformIO configuration – LittleFS test
|
||
; Boards: esp32s3_zero | esp32s3_n16r8v
|
||
; ============================================================
|
||
|
||
[platformio]
|
||
default_envs = esp32s3_zero
|
||
|
||
; ─────────────────────────────────────────
|
||
; Common settings shared by all envs
|
||
; ─────────────────────────────────────────
|
||
[env]
|
||
platform = espressif32@6
|
||
framework = arduino
|
||
|
||
; LittleFS filesystem upload tool
|
||
board_build.filesystem = littlefs
|
||
|
||
; Serial monitor speed
|
||
monitor_speed = 115200
|
||
|
||
monitor_rts = 0
|
||
monitor_dtr = 0
|
||
|
||
; Build flags common to all targets
|
||
build_flags =
|
||
-DCORE_DEBUG_LEVEL=5
|
||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||
|
||
; Pas de lib_deps : LittleFS est inclus dans espressif32@6 (framework-arduinoespressif32)
|
||
; #include <LittleFS.h> suffit
|
||
|
||
; ─────────────────────────────────────────
|
||
; Waveshare ESP32-S3-Zero
|
||
; Flash : 4 MB QIO / PSRAM : none
|
||
; ─────────────────────────────────────────
|
||
[env:esp32s3_zero]
|
||
board = waveshare_esp32_s3_zero
|
||
; Partition scheme with LittleFS (default_8MB has ota+littlefs)
|
||
board_build.partitions = default.csv
|
||
upload_speed = 921600
|
||
monitor_speed = 115200
|
||
|
||
; ─────────────────────────────────────────
|
||
; Generic ESP32-S3 N16R8V
|
||
; Flash : 16 MB QIO / PSRAM : 8 MB OPI
|
||
; ─────────────────────────────────────────
|
||
[env:esp32s3_n16r8v]
|
||
board = esp32-s3-devkitc-1
|
||
board_build.partitions = default_16MB.csv
|
||
board_upload.flash_size = 16MB
|
||
board_build.arduino.memory_type = qio_opi ; OPI PSRAM
|
||
upload_speed = 921600
|
||
monitor_speed = 115200
|
||
build_flags =
|
||
${env.build_flags}
|
||
-DBOARD_HAS_PSRAM
|