a2cabinLights/platformio.ini

48 lines
968 B
INI
Raw Normal View History

2019-05-13 08:00:06 +00: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
2019-05-17 08:29:48 +00:00
[env]
2019-05-13 08:00:06 +00:00
platform = espressif32
board = esp32-poe
framework = arduino
2019-05-13 09:51:11 +00:00
upload_port=/dev/tty.wchusbserial230
monitor_baud = 115200
2019-05-17 08:29:48 +00:00
[env:controller]
src_filter = +<controller_main.cpp>
2019-05-13 09:51:11 +00:00
lib_deps =
ESP Async WebServer
2019-05-17 08:29:48 +00:00
[env:LIGHT1]
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT1
[env:LIGHT2]
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT2
[env:LIGHT3]
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT3
[env:LIGHT3]
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT4