2021-01-15 22:49:01 +01: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-15 23:53:51 +01:00
|
|
|
[env:esp32-poe]
|
2021-01-15 22:49:01 +01:00
|
|
|
framework = arduino
|
|
|
|
platform = espressif32
|
|
|
|
board = esp32-poe
|
2021-01-15 23:53:51 +01:00
|
|
|
lib_deps =
|
2021-01-15 22:49:01 +01:00
|
|
|
RF24@~1.3.2
|
|
|
|
ArduinoJson@~6.10.1
|
|
|
|
PubSubClient@~2.7
|
|
|
|
https://github.com/ratkins/RGBConverter.git#07010f2
|
|
|
|
WebSockets@~2.2.0
|
|
|
|
CircularBuffer@~1.2.0
|
|
|
|
PathVariableHandlers@~2.0.0
|
|
|
|
RichHttpServer@~2.0.2
|
|
|
|
extra_scripts =
|
|
|
|
pre:.build_web.py
|
|
|
|
test_ignore = remote
|
|
|
|
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
|