Snapshot: full project state
This commit is contained in:
49
platformio.ini
Normal file
49
platformio.ini
Normal file
@@ -0,0 +1,49 @@
|
||||
[platformio]
|
||||
default_envs = esp32-s3-freenove
|
||||
src_dir = src
|
||||
include_dir = include
|
||||
|
||||
[env:esp32-s3-freenove]
|
||||
platform = espressif32@6.7.0
|
||||
board = esp32-s3-devkitc-1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
; Memory optimization for S3
|
||||
; board_build.partitions = partitions_s3.csv
|
||||
board_build.flash_mode = dio
|
||||
board_build.flash_freq = 80m
|
||||
|
||||
; S3 has 520KB SRAM - use it efficiently
|
||||
build_flags =
|
||||
-DBOARD_ESP32_S3_FREENOVE=1
|
||||
-DCPU_FREQ_240=1
|
||||
-DLOG_LOCAL_LEVEL=ESP_LOG_INFO
|
||||
-DCONFIG_SPIRAM_IGNORE_NOTFOUND=1
|
||||
-O2
|
||||
|
||||
; Libraries
|
||||
lib_deps =
|
||||
adafruit/Adafruit GFX Library@^1.11.9
|
||||
adafruit/Adafruit ILI9341@^1.5.10
|
||||
WiFi@^2.0.0
|
||||
BluetoothSerial@^2.0.0
|
||||
SPI@^2.0.0
|
||||
FS@^2.0.0
|
||||
SD@^2.0.0
|
||||
SPIFFS@^2.0.0
|
||||
|
||||
; Optional: external radio libraries
|
||||
lib_ignore =
|
||||
; Add library names to ignore if needed
|
||||
|
||||
upload_speed = 460800
|
||||
upload_port = /dev/tty.usbmodem1101
|
||||
|
||||
[env:debug]
|
||||
extends = esp32-s3-freenove
|
||||
build_flags =
|
||||
${env:esp32-s3-freenove.build_flags}
|
||||
-DDEBUG_MODE=1
|
||||
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
|
||||
Reference in New Issue
Block a user