2021-01-15 21:49:01 +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
|
|
|
|
|
2021-01-16 01:27:03 +00:00
|
|
|
[common]
|
2021-01-15 21:49:01 +00:00
|
|
|
framework = arduino
|
2021-01-16 01:27:03 +00:00
|
|
|
board_f_cpu = 160000000L
|
|
|
|
lib_deps_builtin =
|
2021-01-16 22:33:54 +00:00
|
|
|
SPI
|
2021-01-16 01:27:03 +00:00
|
|
|
lib_deps_external =
|
2021-01-15 21:49:01 +00:00
|
|
|
RF24@~1.3.2
|
2021-01-16 22:33:54 +00:00
|
|
|
ArduinoJson@~6.10.1
|
|
|
|
PubSubClient@~2.7
|
|
|
|
https://github.com/ratkins/RGBConverter.git#07010f2605d9f787c6c55e62df10fec14e5894e4
|
|
|
|
WebSockets@~2.2.0
|
|
|
|
CircularBuffer@~1.2.0
|
2021-01-15 21:49:01 +00:00
|
|
|
PathVariableHandlers@~2.0.0
|
|
|
|
RichHttpServer@~2.0.2
|
|
|
|
extra_scripts =
|
|
|
|
pre:.build_web.py
|
|
|
|
test_ignore = remote
|
2021-01-16 01:27:03 +00:00
|
|
|
upload_speed = 460800
|
2021-01-15 21:49:01 +00:00
|
|
|
build_flags =
|
|
|
|
!python3 .get_version.py
|
|
|
|
-D USING_AXTLS
|
|
|
|
-D MQTT_MAX_PACKET_SIZE=360
|
|
|
|
-D HTTP_UPLOAD_BUFLEN=128
|
|
|
|
-D FIRMWARE_NAME=milight-hub
|
|
|
|
-D RICH_HTTP_REQUEST_BUFFER_SIZE=2048
|
|
|
|
-D RICH_HTTP_RESPONSE_BUFFER_SIZE=2048
|
|
|
|
-Idist -Ilib/DataStructures
|
2021-01-16 01:27:03 +00:00
|
|
|
|
|
|
|
[env:esp32-poe]
|
|
|
|
platform = espressif32
|
|
|
|
framework = ${common.framework}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
2021-01-16 22:33:54 +00:00
|
|
|
test_ignore = ${common.test_ignore}
|
|
|
|
board = esp32-poe
|
2021-01-16 01:27:03 +00:00
|
|
|
lib_deps =
|
|
|
|
${common.lib_deps_builtin}
|
|
|
|
${common.lib_deps_external}
|
2021-01-16 22:33:54 +00:00
|
|
|
https://github.com/tzapu/WiFiManager.git#2.0.3-alpha
|
|
|
|
monitor_speed = 115200
|