43 lines
1.2 KiB
INI
43 lines
1.2 KiB
INI
[env:m5stack-papers3]
|
|
platform = espressif32
|
|
board = esp32s3box
|
|
framework = arduino
|
|
src_dir = src
|
|
|
|
; Exclude the built-in Arduino WebServer framework library — it depends on
|
|
; WiFiServer.h which was moved in ESP32 Arduino 3.x. We use ESPAsyncWebServer
|
|
; instead, so the built-in WebServer is never needed.
|
|
lib_ignore = WebServer
|
|
|
|
; M5Stack PaperS3: ESP32-S3FN16R8 (16MB Flash, 8MB OPI PSRAM)
|
|
board_build.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv
|
|
board_build.arduino.memory_type = qio_opi
|
|
board_build.f_cpu = 240000000L
|
|
|
|
build_flags =
|
|
-DARDUINO_USB_MODE=1
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DCORE_DEBUG_LEVEL=0
|
|
; NimBLE config - minimise memory footprint per CLAUDE.md
|
|
-DCONFIG_BT_NIMBLE_ROLE_BROADCASTER=0
|
|
-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL=0
|
|
-DCONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
|
|
|
|
lib_deps =
|
|
; Display & Core System
|
|
m5stack/M5Unified
|
|
m5stack/M5GFX
|
|
; Bluetooth (low-memory NimBLE)
|
|
h2zero/NimBLE-Arduino
|
|
; GPS Parsing
|
|
mikalhart/TinyGPSPlus
|
|
; Web Server (ESP32-S3 compatible fork + async TCP)
|
|
mathieucarbou/ESPAsyncWebServer
|
|
mathieucarbou/AsyncTCP
|
|
; FTP server for management AP file access
|
|
xreef/SimpleFTPServer
|
|
|
|
monitor_speed = 115200
|
|
monitor_filters = esp32_exception_decoder
|