44 lines
1001 B
INI
44 lines
1001 B
INI
[platformio]
|
|
default_envs=
|
|
esp32-s3-nano
|
|
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
lib_deps =
|
|
Preferences
|
|
Wifi
|
|
Wire
|
|
ESP32Async/AsyncTCP@3.4.9
|
|
ESP32Async/ESPAsyncWebServer@3.9.1
|
|
ttlappalainen/NMEA2000-library@4.24
|
|
robtillaart/SHT31@^0.5.2
|
|
# adafruit/Adafruit NeoPixel
|
|
|
|
# only these files will be emedded into firmware
|
|
board_build.embed_files =
|
|
lib/generated/index.html.gz
|
|
lib/generated/index.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
|
|
build_flags =
|
|
-D PIO_ENV_BUILD=$PIOENV
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
|
|
[env:esp32-s3-nano]
|
|
build_type = release # debug | release
|
|
# board = esp32-s3-devkitc-1
|
|
board = esp32_s3_nano
|
|
#board = arduino_nano_esp32 # ATTENTION! Pin numbering scheme changes
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default.csv
|
|
upload_port = /dev/ttyACM0
|
|
upload_protocol = esptool
|