esp32_ethernet_milight_hub/platformio.ini

52 lines
1.4 KiB
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
[common]
framework = arduino
board_f_cpu = 160000000L
lib_deps_builtin =
SPI
lib_deps_external =
RF24@~1.3.2
ArduinoJson@~6.10.1
PubSubClient@~2.7
https://github.com/ratkins/RGBConverter.git#07010f2605d9f787c6c55e62df10fec14e5894e4
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
upload_speed = 460800
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
[env:esp32-poe]
platform = espressif32@=3.0.0
framework = ${common.framework}
upload_speed = ${common.upload_speed}
build_flags = ${common.build_flags}
extra_scripts = ${common.extra_scripts}
test_ignore = ${common.test_ignore}
board = esp32-poe
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
https://github.com/tzapu/WiFiManager.git#2.0.3-alpha
monitor_speed = 115200