a2cabinLights/platformio.ini

58 lines
1.1 KiB
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
2019-05-18 13:56:56 +00:00
upload_port=/dev/cu.wchusbserial141230
2019-05-13 09:51:11 +00:00
monitor_baud = 115200
2019-05-17 16:31:54 +00:00
build_flags = -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
2019-05-13 09:51:11 +00:00
2019-05-17 08:29:48 +00:00
[env:controller]
2019-05-17 16:31:54 +00:00
platform = espressif32
board = esp32-poe
framework = arduino
monitor_baud = 115200
2019-05-17 08:29:48 +00:00
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
2019-05-17 16:31:54 +00:00
[env:light1]
2019-05-17 08:29:48 +00:00
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
2019-05-17 16:31:54 +00:00
build_flags = -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
;build_flags = -DROLE=LIGHT1
[env:light2]
2019-05-17 08:29:48 +00:00
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT2
2019-05-17 16:31:54 +00:00
[env:light3]
2019-05-17 08:29:48 +00:00
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT3
2019-05-17 16:31:54 +00:00
[env:light4]
2019-05-17 08:29:48 +00:00
src_filter = +<light_main.cpp>
lib_deps =
WebSockets
build_flags = -DROLE=LIGHT4