ESP8266-IOT-timer/platformio.ini

44 lines
1.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
[common_env_data]
build_flags = '-D BUILD_VERSION="0.8.2*"'
[platformio]
default_envs = esp12e
[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino
upload_speed = 921600
monitor_speed = 74880
lib_deps =
ropg/ezTime@^0.8.3
paulstoffregen/OneWire@^2.3.7
milesburton/DallasTemperature@^3.11.0
build_flags = ${common_env_data.build_flags}
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=0
[env:esp12e_debug]
extends = env:esp12e
build_type = debug
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1
[env:esp12e_ota]
extends = env:esp12e
upload_protocol = espota
upload_port = 192.168.2.4
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