lightbuttons/platformio.ini

48 lines
1,011 B
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
[env:esp32-poe-iso]
platform = espressif32
board = esp32-poe-iso
framework = arduino
monitor_speed = 115200
build_flags =
'-D MQTT_BASETOPIC="lightbuttons-A"'
lib_deps=
ethernet
BluetoothSerial
SPI
adafruit/Adafruit seesaw Library@^1.7.8
adafruit/Adafruit MQTT Library@^2.5.8
mathertel/OneButton@^2.6.1
[env:wemosd1]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 115200
build_flags =
'-D MQTT_BASETOPIC="lightbuttons-A"'
-D WIFI
lib_deps=
SPI
adafruit/Adafruit seesaw Library@^1.7.8
adafruit/Adafruit MQTT Library@^2.5.8
mathertel/OneButton@^2.6.1