Helligkeit/platformio.ini
2025-03-03 09:59:05 +01:00

60 lines
1.9 KiB
INI

[platformio]
data_dir = ${PROJECT_DIR}/data/${PIOENV}
[common]
framework = arduino
lib_deps = SPI
https://github.com/adafruit/Adafruit_BusIO
https://github.com/milesburton/Arduino-Temperature-Control-Library
https://github.com/adafruit/DHT-sensor-library
https://github.com/adafruit/Adafruit_TSL2561
https://github.com/knolleary/pubsubclient
https://github.com/adafruit/Adafruit_BME680
https://github.com/adafruit/Adafruit_BMP280
https://github.com/adafruit/Adafruit_AHTX0
https://github.com/phassel/ArduPID/
https://github.com/me-no-dev/ESPAsyncWebServer
https://github.com/wayoda/LedControl
https://github.com/bblanchon/ArduinoJson
build_flags =
board_build.filesystem = littlefs
monitor_speed = 115200
upload_port = /dev/ttyUSB0
upload_speed = 460800
upload_protocol = espota
[esp12e]
platform = espressif8266
board = esp12e
[esp32]
platform = espressif32
board = esp32dev
[env:Greenhouse]
platform = ${esp12e.platform}
board = ${esp12e.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DNODE_GREENHOUSE -DHOSTNAME=\"Greenhouse\"
board_build.filesystem = ${common.board_build.filesystem}
monitor_speed = ${common.monitor_speed}
;upload_protocol = ${common.upload_protocol}
;upload_port = 10.0.0.160
upload_port = ${common.upload_port}
upload_speed = ${common.upload_speed}
[env:Fermenter]
platform = ${esp12e.platform}
board = ${esp12e.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DNODE_FERMENTER -DHOSTNAME=\"Fermenter\"
board_build.filesystem = ${common.board_build.filesystem}
monitor_speed = ${common.monitor_speed}
upload_flags = --auth=OtaAuthPatrixFermenter
upload_protocol = ${common.upload_protocol}
upload_port = 10.0.0.169
;upload_port = ${common.upload_port}
;upload_speed = ${common.upload_speed}