63 lines
1.9 KiB
INI
63 lines
1.9 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 = nodemcuv2
|
|
|
|
[common_env_data]
|
|
build_flags = '-D BUILD_VERSION="0.0.1"' -D DEBUG_ESP_PORT=Serial -D NDEBUG
|
|
extra_scripts =
|
|
./extra_scripts/reset_board.py
|
|
lib_deps = miguel5612/MQUnifiedsensor @ ^3.0.0
|
|
adafruit/DHT sensor library @ ^1.4.6
|
|
dawidchyrzynski/home-assistant-integration @ ^2.1.0
|
|
arduinogetstarted/ezLED @ ^1.0.1
|
|
https://github.com/gilex-dev/rc-switch.git#SKL-W1B
|
|
thijse/ArduinoLog @ ^1.1.1
|
|
bblanchon/ArduinoJson @ ^7.4.2
|
|
|
|
[env:nodemcuv2]
|
|
platform = espressif8266
|
|
board = nodemcuv2
|
|
framework = arduino
|
|
upload_speed = 921600
|
|
monitor_speed = 74880
|
|
monitor_filters = esp8266_exception_decoder
|
|
board_build.filesystem = littlefs
|
|
build_flags = ${common_env_data.build_flags} -D SERIAL_BAUD_RATE=${this.monitor_speed} -D BUILD_DEBUG=false
|
|
extra_scripts = ${common_env_data.extra_scripts}
|
|
lib_compat_mode = strict
|
|
lib_ldf_mode = chain
|
|
lib_deps = ${common_env_data.lib_deps}
|
|
|
|
[env:nodemcuv2_ota]
|
|
extends = env:nodemcuv2
|
|
upload_protocol = espota
|
|
[env:esp32-dev]
|
|
upload_port = /dev/ttyUSB0
|
|
framework = arduino
|
|
platform = espressif32
|
|
board = esp32dev
|
|
upload_speed = 921600
|
|
monitor_speed = 115200
|
|
monitor_filters = esp32_exception_decoder
|
|
board_build.filesystem = littlefs
|
|
build_flags = ${common_env_data.build_flags} -D SERIAL_BAUD_RATE=${this.monitor_speed} -D BUILD_DEBUG=false
|
|
extra_scripts = ${common_env_data.extra_scripts}
|
|
lib_compat_mode = strict
|
|
lib_ldf_mode = chain
|
|
lib_deps = ${common_env_data.lib_deps}
|
|
hoeken/PsychicHttp @ ^1.2.1
|
|
|
|
[env:esp32c3-mini]
|
|
platform = espressif32
|
|
extends = env:esp32dev
|
|
board = esp32c3-mini
|