2021-04-10 01:05:48 +02: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
|
|
|
|
|
2022-04-14 22:48:11 +02:00
|
|
|
[platformio]
|
|
|
|
extra_configs =
|
|
|
|
wifi_credentials.ini
|
|
|
|
|
2022-07-15 13:36:29 +02:00
|
|
|
[env:de-timer]
|
2023-02-13 22:59:42 +01:00
|
|
|
platform = espressif8266
|
|
|
|
framework = arduino
|
|
|
|
board = d1_mini
|
2022-04-14 22:48:11 +02:00
|
|
|
|
2024-05-31 12:47:45 +02:00
|
|
|
custom_firmware_version = 1.05
|
|
|
|
custom_flash_version = 1.05
|
|
|
|
|
2022-05-15 22:52:50 +02:00
|
|
|
upload_protocol = esptool
|
|
|
|
upload_speed = 921600
|
|
|
|
;upload_port = 10.0.1.48
|
2024-05-31 01:16:26 +02:00
|
|
|
;upload_flags =
|
|
|
|
; --port=8266
|
|
|
|
; --auth=${wifi_cred.admin_password}
|
2022-05-15 22:52:50 +02:00
|
|
|
|
2021-06-10 14:01:57 +02:00
|
|
|
build_flags=
|
2023-04-12 22:43:25 +02:00
|
|
|
-DATOMIC_FS_UPDATE
|
2024-05-30 23:37:01 +02:00
|
|
|
-DFEATURE_ENABLE_WIFI_CLIENT
|
2023-04-18 20:06:57 +02:00
|
|
|
;-DFEATURE_ENABLE_LORA
|
2023-05-25 14:00:06 +02:00
|
|
|
-DFEATURE_ENABLE_UARTLORA
|
2023-04-13 21:04:29 +02:00
|
|
|
-DWIFI_AP_IP_GW=10,0,0,1
|
2024-05-31 01:16:26 +02:00
|
|
|
-DADMIN_PASSWORD=${wifi_cred.admin_password}
|
|
|
|
-DWIFI_SSID_CLIENT=${wifi_cred.wifi_ssid_client}
|
|
|
|
-DWIFI_PASSWORD_CLIENT=${wifi_cred.wifi_password_client}
|
|
|
|
-DADMIN_PASSWORD=${wifi_cred.admin_password}
|
2022-04-14 22:48:11 +02:00
|
|
|
-DWIFI_AP_PASSWORD=${wifi_cred.wifi_ap_password}
|
|
|
|
-DDEVICE_NAME='"Dark Emergency Timer"'
|
2021-06-10 14:01:57 +02:00
|
|
|
|
2023-02-20 09:27:34 +01:00
|
|
|
;build_type = debug
|
|
|
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
board_build.ldscript = eagle.flash.4m1m.ld
|
2024-05-30 23:37:01 +02:00
|
|
|
extra_scripts =
|
|
|
|
post:codegen/prepare_littlefs.py
|
|
|
|
pre:codegen/run_pre.py
|
2023-02-20 09:27:34 +01:00
|
|
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
2024-05-30 23:37:01 +02:00
|
|
|
lib_ldf_mode = deep
|
2023-02-13 22:59:42 +01:00
|
|
|
lib_deps =
|
2023-02-20 09:27:34 +01:00
|
|
|
;xreef/EByte LoRa E220 library@^1.0.6 ; made Lib local, due to changes for I2C-controller M0,M1-Pins
|
2023-02-13 22:59:42 +01:00
|
|
|
sstaub/Ticker@^4.4.0
|
2023-02-15 20:13:36 +01:00
|
|
|
robtillaart/PCF8574 @ ^0.3.7
|
2023-02-13 22:59:42 +01:00
|
|
|
adafruit/Adafruit INA219 @ ^1.1.1
|
2023-02-15 20:13:36 +01:00
|
|
|
akj7/TM1637 Driver @ ^2.1.2
|
2024-05-30 23:37:01 +02:00
|
|
|
sstaub/Ticker @ ^4.4.0
|
|
|
|
robtillaart/I2C_EEPROM @ ^1.8.2
|
|
|
|
esphome/ESPAsyncWebServer-esphome @ ^3.2.2
|
2023-02-15 20:13:36 +01:00
|
|
|
sandeepmistry/LoRa @ ^0.8.0
|
2024-05-30 23:37:01 +02:00
|
|
|
bblanchon/ArduinoJson @ ^7.0.4
|