41 lines
894 B
INI
41 lines
894 B
INI
; Umgebung = Board + RTC-Modul waehlen, z.B.: pio run -e nodemcu_ds3231 -t upload
|
|
; Board: d1_mini | nodemcu RTC: ds3231 | ds1307 | keine
|
|
[common]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
lib_deps =
|
|
adafruit/Adafruit NeoPixel
|
|
tzapu/WiFiManager
|
|
adafruit/RTClib
|
|
|
|
[board_d1_mini]
|
|
board = d1_mini
|
|
|
|
[board_nodemcu]
|
|
board = nodemcuv2
|
|
|
|
[env:d1_mini_ds3231]
|
|
extends = common, board_d1_mini
|
|
build_flags = -DRTC_MODUL_DS3231
|
|
|
|
[env:d1_mini_ds1307]
|
|
extends = common, board_d1_mini
|
|
build_flags = -DRTC_MODUL_DS1307
|
|
|
|
[env:d1_mini_keine]
|
|
extends = common, board_d1_mini
|
|
build_flags = -DRTC_MODUL_KEINE
|
|
|
|
[env:nodemcu_ds3231]
|
|
extends = common, board_nodemcu
|
|
build_flags = -DRTC_MODUL_DS3231
|
|
|
|
[env:nodemcu_ds1307]
|
|
extends = common, board_nodemcu
|
|
build_flags = -DRTC_MODUL_DS1307
|
|
|
|
[env:nodemcu_keine]
|
|
extends = common, board_nodemcu
|
|
build_flags = -DRTC_MODUL_KEINE
|