133 lines
3.1 KiB
INI
133 lines
3.1 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
|
|
|
|
[platformio]
|
|
default_envs = esp32thing_CI
|
|
|
|
[env]
|
|
platform = https://github.com/platformio/platform-espressif32.git
|
|
framework = arduino
|
|
lib_compat_mode = strict
|
|
|
|
[env:wemos_d1_mini32]
|
|
board = wemos_d1_mini32
|
|
monitor_speed = 115200
|
|
build_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
targets = uploadfs
|
|
board_build.psram = disabled
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.4.1
|
|
esp32async/ESPAsyncWebServer@^3.7.7
|
|
esp32async/AsyncTCP@^3.4.2
|
|
mlesniew/PicoMQTT@^1.3.0
|
|
adafruit/Adafruit PN532@^1.3.4
|
|
|
|
[env:esp32thing_OTA]
|
|
board = esp32thing
|
|
monitor_speed = 115200
|
|
upload_protocol = espota
|
|
upload_port = 192.168.1.96
|
|
build_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-DBATTERY_PIN=36
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv
|
|
targets = uploadfs
|
|
board_build.psram = disabled
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.4.1
|
|
esp32async/ESPAsyncWebServer@^3.7.7
|
|
esp32async/AsyncTCP@^3.4.2
|
|
mlesniew/PicoMQTT@^1.3.0
|
|
adafruit/Adafruit PN532@^1.3.4
|
|
|
|
|
|
|
|
[env:esp32thing]
|
|
board = esp32thing_plus
|
|
monitor_speed = 115200
|
|
build_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-DBATTERY_PIN=36
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv
|
|
targets = uploadfs
|
|
board_build.psram = disabled
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.4.1
|
|
esp32async/ESPAsyncWebServer@^3.7.7
|
|
esp32async/AsyncTCP@^3.4.2
|
|
mlesniew/PicoMQTT@^1.3.0
|
|
adafruit/Adafruit PN532@^1.3.4
|
|
|
|
[env:esp32thing_CI]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
build_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-DBATTERY_PIN=36
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.4.1
|
|
esp32async/ESPAsyncWebServer@^3.7.7
|
|
esp32async/AsyncTCP@^3.4.2
|
|
mlesniew/PicoMQTT@^1.3.0
|
|
adafruit/Adafruit PN532@^1.3.4
|
|
|
|
[env:um_feathers3]
|
|
board = um_feathers3
|
|
monitor_speed = 115200
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv
|
|
board_upload.wait_for_upload_port = false
|
|
build_flags =
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D BATTERY_PIN=35
|
|
-D ARDUINO_USB_MODE=1
|
|
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.4.1
|
|
esp32async/ESPAsyncWebServer@^3.7.7
|
|
esp32async/AsyncTCP@^3.4.2
|
|
mlesniew/PicoMQTT@^1.3.0
|
|
adafruit/Adafruit PN532@^1.3.4
|
|
|
|
[env:um_feathers3_debug]
|
|
board = um_feathers3
|
|
board_upload.flash_size = 16MB
|
|
board_build.partitions = default_16MB.csv
|
|
board_upload.wait_for_upload_port = false
|
|
build_flags =
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D BATTERY_PIN=35
|
|
-D ARDUINO_USB_MODE=0
|
|
|
|
build_type = debug
|
|
debug_speed = 12000
|
|
debug_tool = esp-builtin
|
|
upload_port = COM5
|
|
monitor_speed = 115200
|
|
monitor_port = COM7
|
|
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.4.1
|
|
esp32async/ESPAsyncWebServer@^3.7.7
|
|
esp32async/AsyncTCP@^3.4.2
|
|
mlesniew/PicoMQTT@^1.3.0
|
|
adafruit/Adafruit PN532@^1.3.4
|
|
|