mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-14 15:54:47 +00:00
71 lines
2.7 KiB
INI
Executable File
71 lines
2.7 KiB
INI
Executable File
[platformio]
|
|
extra_configs = platformio-user.ini
|
|
|
|
[common]
|
|
lib_deps = EEPROM, LittleFS, DNSServer, 256dpi/MQTT@2.5.0, OneWireNg@0.10.0, DallasTemperature@3.9.1, EspSoftwareSerial@6.14.1, https://github.com/gskjold/RemoteDebug.git, Time@1.6.1, Timezone@1.2.4, AmsConfiguration, AmsData, AmsDataStorage, HwTools, Uptime, AmsDecoder, EntsoePriceApi, EnergyAccounting, RawMqttHandler, JsonMqttHandler, DomoticzMqttHandler, HomeAssistantMqttHandler, SvelteUi
|
|
lib_ignore = OneWire
|
|
extra_scripts =
|
|
pre:scripts/addversion.py
|
|
lib/JsonMqttHandler/scripts/generate_includes.py
|
|
lib/DomoticzMqttHandler/scripts/generate_includes.py
|
|
lib/HomeAssistantMqttHandler/scripts/generate_includes.py
|
|
lib/SvelteUi/scripts/generate_includes.py
|
|
|
|
[esp32]
|
|
lib_deps = WiFi, ESPmDNS, WiFiClientSecure, HTTPClient, FS, Update, HTTPUpdate, WebServer, ${common.lib_deps}
|
|
|
|
[env:esp8266]
|
|
platform = espressif8266@3.2.0
|
|
framework = arduino
|
|
board = esp12e
|
|
board_build.ldscript = eagle.flash.4m2m.ld
|
|
build_flags = -D WEBSOCKET_DISABLED=1 -fexceptions
|
|
lib_ldf_mode = off
|
|
lib_compat_mode = off
|
|
lib_deps = ESP8266WiFi, ESP8266mDNS, ESP8266WebServer, ESP8266HTTPClient, ESP8266httpUpdate, ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
[env:esp32]
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.3/platform-espressif32-2.0.5.3.zip
|
|
framework = arduino
|
|
board = esp32dev
|
|
board_build.f_cpu = 160000000L
|
|
build_flags = -D WEBSOCKET_DISABLED=1 -fexceptions
|
|
lib_ldf_mode = off
|
|
lib_compat_mode = off
|
|
lib_deps = ${esp32.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
# Tasmota has pre-built platform for C3, S2, S3 and Solo, more information at:
|
|
# https://github.com/Jason2866/esp32-arduino-lib-builder
|
|
|
|
[env:esp32s2]
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.3/platform-espressif32-2.0.5.3.zip
|
|
framework = arduino
|
|
board = esp32-s2-saola-1
|
|
board_build.mcu = esp32s2
|
|
board_build.variant = esp32s2
|
|
board_build.flash_mode = qio
|
|
board_build.f_cpu = 160000000L
|
|
board_build.f_flash = 40000000L
|
|
build_flags = -D WEBSOCKET_DISABLED=1 -fexceptions
|
|
lib_ldf_mode = off
|
|
lib_compat_mode = off
|
|
lib_deps = ${esp32.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
[env:esp32solo]
|
|
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5.3/platform-espressif32-2.0.5.3.zip
|
|
framework = arduino
|
|
board = esp32-solo1
|
|
board_build.f_cpu = 160000000L
|
|
build_flags = -D WEBSOCKET_DISABLED=1 -DFRAMEWORK_ARDUINO_SOLO1 -fexceptions
|
|
lib_ldf_mode = off
|
|
lib_compat_mode = off
|
|
lib_deps = ${esp32.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_scripts = ${common.extra_scripts}
|