63 lines
2.2 KiB
INI
63 lines
2.2 KiB
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[common]
|
|
; All ESP32 targets use the pioarduino fork, which ships Arduino-ESP32 3.x
|
|
; (the registry espressif32 platform is still on 2.0.17 and lacks C6 support).
|
|
platform_esp32 = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.39/platform-espressif32.zip
|
|
|
|
[env]
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
lib_deps =
|
|
tzapu/WiFiManager@^2.0.17
|
|
bblanchon/ArduinoJson@^7.4.3
|
|
knolleary/PubSubClient@^2.8
|
|
|
|
[env:esp32-s3-devkitc-1]
|
|
platform = ${common.platform_esp32}
|
|
board = esp32-s3-devkitc-1
|
|
board_build.filesystem = littlefs
|
|
; Arduino-ESP32 3.x images overflow the default dual-OTA app slot; this
|
|
; firmware has no OTA, so use a single large app partition.
|
|
board_build.partitions = huge_app.csv
|
|
|
|
[env:esp32dev]
|
|
platform = ${common.platform_esp32}
|
|
board = esp32dev
|
|
board_build.filesystem = littlefs
|
|
; Arduino-ESP32 3.x images overflow the default dual-OTA app slot; this
|
|
; firmware has no OTA, so use a single large app partition.
|
|
board_build.partitions = huge_app.csv
|
|
|
|
[env:esp32-C3-devkitm-1]
|
|
platform = ${common.platform_esp32}
|
|
board = esp32-c3-devkitm-1
|
|
board_build.filesystem = littlefs
|
|
; Arduino-ESP32 3.x images overflow the default dual-OTA app slot; this
|
|
; firmware has no OTA, so use a single large app partition.
|
|
board_build.partitions = huge_app.csv
|
|
|
|
[env:esp32-c6-devkitc-1]
|
|
platform = ${common.platform_esp32}
|
|
board = esp32-c6-devkitc-1
|
|
board_build.filesystem = littlefs
|
|
; Arduino-ESP32 3.x images overflow the default dual-OTA app slot; this
|
|
; firmware has no OTA, so use a single large app partition.
|
|
board_build.partitions = huge_app.csv
|
|
|
|
[env:rpipico2w]
|
|
; RP2350 support requires the maxgerhardt fork of the raspberrypi platform
|
|
; and the earlephilhower arduino-pico core.
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
board = rpipico2w
|
|
board_build.core = earlephilhower
|
|
board_build.filesystem_size = 0.5m
|