34 lines
1.0 KiB
INI
34 lines
1.0 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
|
|
|
|
[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 =
|
|
thijse/ArduinoLog @ ^1.1.1
|
|
bblanchon/ArduinoJson @ ^7.4.2
|