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]
|
|
|
|
platform = espressif32
|
|
|
|
board = ttgo-lora32-v1
|
2021-06-09 15:01:40 +02:00
|
|
|
board_build.filesystem = littlefs
|
2022-07-15 13:36:29 +02:00
|
|
|
;board_build.f_flash = 80000000L
|
|
|
|
;board_build.ldscript = eagle.flash.4m1m.ld
|
2021-06-09 15:01:40 +02:00
|
|
|
|
2022-07-15 13:36:29 +02:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2022-04-14 22:48:11 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
|
2022-05-15 22:52:50 +02:00
|
|
|
upload_protocol = esptool
|
|
|
|
upload_speed = 921600
|
|
|
|
;upload_port = 10.0.1.48
|
|
|
|
;upload_protocol = espota
|
|
|
|
;upload_flags =
|
|
|
|
; --auth=${wifi_cred.admin_password}
|
|
|
|
|
|
|
|
build_type = debug
|
2021-06-13 23:18:14 +02:00
|
|
|
|
2021-06-10 14:01:57 +02:00
|
|
|
build_flags=
|
2022-04-14 22:48:11 +02:00
|
|
|
!python git_rev_macro.py
|
|
|
|
-DSERIAL_DEBUG
|
2022-05-15 16:46:48 +02:00
|
|
|
;-DWIFI_CLIENT
|
2022-05-15 22:51:42 +02:00
|
|
|
;-DCAPTIVE
|
|
|
|
-DWIFI_AP_IP_GW=10,0,1,1
|
2022-04-14 22:48:11 +02:00
|
|
|
-DADMIN_PASSWORD=${wifi_cred.admin_password}
|
|
|
|
-DWIFI_SSID=${wifi_cred.wifi_ssid}
|
|
|
|
-DWIFI_PASSWORD=${wifi_cred.wifi_password}
|
|
|
|
-DWIFI_AP_PASSWORD=${wifi_cred.wifi_ap_password}
|
|
|
|
-DDEVICE_NAME='"Dark Emergency Timer"'
|
|
|
|
-DFACTION_1_NAME='"GOF"'
|
|
|
|
-DFACTION_2_NAME='"MILIZ"'
|
|
|
|
-DFACTION_3_NAME='"KGG"'
|
2021-06-10 14:01:57 +02:00
|
|
|
|
2021-04-10 01:05:48 +02:00
|
|
|
framework = arduino
|
2021-06-09 15:01:40 +02:00
|
|
|
lib_deps =
|
|
|
|
smougenot/TM1637@0.0.0-alpha+sha.9486982048
|
2022-07-15 13:36:29 +02:00
|
|
|
;me-no-dev/ESP Async WebServer @ ^1.2.3 ; local version included due to bug
|
|
|
|
me-no-dev/AsyncTCP @ ^1.1.1
|
2021-06-13 14:07:19 +02:00
|
|
|
sstaub/Ticker @ ^4.2.0
|
|
|
|
adafruit/Adafruit INA219 @ ^1.1.1
|
2022-04-14 22:48:11 +02:00
|
|
|
robtillaart/I2C_EEPROM @ ^1.5.2
|