50 lines
1.2 KiB
INI
50 lines
1.2 KiB
INI
[platformio]
|
|
default_envs=
|
|
esp32-s3-nano
|
|
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
lib_deps =
|
|
Preferences
|
|
Wifi
|
|
Wire
|
|
ArduinoJson @ 6.18.5
|
|
ESP32Async/AsyncTCP@3.4.9
|
|
ESP32Async/ESPAsyncWebServer@3.9.1
|
|
ttlappalainen/NMEA2000-library@4.24
|
|
robtillaart/SHT31@^0.5.2
|
|
|
|
# only these files will be emedded into firmware
|
|
board_build.embed_files =
|
|
lib/generated/index.html.gz
|
|
lib/generated/index.js.gz
|
|
lib/generated/sha256.js.gz
|
|
lib/generated/index.css.gz
|
|
lib/generated/config.json.gz
|
|
|
|
extra_scripts =
|
|
pre:extra_pre.py
|
|
post:extra_post.py
|
|
lib_ldf_mode = chain
|
|
monitor_speed = 115200
|
|
# monitor_raw = yes
|
|
build_flags =
|
|
-DPIO_ENV_BUILD=$PIOENV
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DCORE_DEBUG_LEVEL=4 # Max. possible loglevel: 0=None, 1=Error, 2=Warning, 3=Info, 4=Debug, 5=Verbose
|
|
-DCONFIG_LOG_TX_BUF_SIZE=4096
|
|
-std=gnu++17
|
|
build_unflags =
|
|
-std=gnu++11
|
|
|
|
[env:esp32-s3-nano]
|
|
build_type = release # debug | release
|
|
board = esp32_s3_nano
|
|
#board = arduino_nano_esp32 # ATTENTION! Pin numbering scheme changes
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv #ESP32-S3 N16, 16MB flash
|
|
upload_port = /dev/ttyACM0
|
|
upload_protocol = esptool
|