2023-08-19 18:34:10 +02:00
|
|
|
; 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
|
|
|
|
|
2023-11-15 22:03:09 +01:00
|
|
|
[common_env_data]
|
|
|
|
build_flags = '-D BUILD_VERSION="0.8.2*"'
|
|
|
|
|
|
|
|
[platformio]
|
|
|
|
default_envs = esp12e
|
|
|
|
|
2023-08-19 18:34:10 +02:00
|
|
|
[env:esp12e]
|
|
|
|
platform = espressif8266
|
|
|
|
board = esp12e
|
|
|
|
framework = arduino
|
|
|
|
upload_speed = 921600
|
|
|
|
monitor_speed = 74880
|
2024-06-23 15:29:50 +02:00
|
|
|
lib_deps =
|
2023-08-19 18:34:10 +02:00
|
|
|
ropg/ezTime@^0.8.3
|
|
|
|
paulstoffregen/OneWire@^2.3.7
|
|
|
|
milesburton/DallasTemperature@^3.11.0
|
2023-11-15 22:03:09 +01:00
|
|
|
build_flags = ${common_env_data.build_flags}
|
2024-06-23 15:29:50 +02:00
|
|
|
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=0
|
2023-11-15 22:03:09 +01:00
|
|
|
|
|
|
|
[env:esp12e_debug]
|
|
|
|
extends = env:esp12e
|
|
|
|
build_type = debug
|
2024-06-23 15:29:50 +02:00
|
|
|
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1
|
2023-11-15 22:03:09 +01:00
|
|
|
|
|
|
|
[env:esp12e_ota]
|
|
|
|
extends = env:esp12e
|
|
|
|
upload_protocol = espota
|
|
|
|
upload_port = 192.168.2.4
|
2024-06-23 15:29:50 +02:00
|
|
|
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=0
|
|
|
|
|
|
|
|
[env:esp12e_ota_debug]
|
|
|
|
extends = env:esp12e_ota
|
|
|
|
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1
|