2022-01-07 21:02:27 +01: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
|
|
|
|
|
|
|
|
[platformio]
|
|
|
|
extra_configs =
|
|
|
|
wifi_credentials.ini
|
|
|
|
|
|
|
|
[env:d1_mini]
|
|
|
|
platform = espressif8266
|
|
|
|
board = d1_mini
|
|
|
|
framework = arduino
|
|
|
|
|
2022-01-07 23:36:02 +01:00
|
|
|
upload_protocol = esptool
|
2022-01-08 03:14:26 +01:00
|
|
|
upload_speed = 921600
|
|
|
|
;upload_port = ChainLube_DDEFB2
|
2022-01-07 23:36:02 +01:00
|
|
|
;upload_protocol = espota
|
|
|
|
;upload_flags =
|
2022-01-08 03:14:26 +01:00
|
|
|
; --auth=${wifi_cred.admin_password}
|
2022-01-07 21:02:27 +01:00
|
|
|
|
|
|
|
build_flags =
|
2022-01-07 21:35:06 +01:00
|
|
|
!python git_rev_macro.py
|
2022-08-21 11:28:58 +02:00
|
|
|
-DWIFI_SSID_CLIENT=${wifi_cred.wifi_ssid_client}
|
|
|
|
-DWIFI_PASSWORD_CLIENT=${wifi_cred.wifi_password_client}
|
2022-01-07 23:36:02 +01:00
|
|
|
-DADMIN_PASSWORD=${wifi_cred.admin_password}
|
|
|
|
-DWIFI_AP_PASSWORD=${wifi_cred.wifi_ap_password}
|
2022-01-14 15:36:17 +01:00
|
|
|
-DWIFI_AP_IP_GW=10,0,0,1
|
2022-08-28 23:27:28 +02:00
|
|
|
-DATOMIC_FS_UPDATE
|
2023-02-24 00:52:51 +01:00
|
|
|
-DFEATURE_ENABLE_WIFI_CLIENT
|
2022-08-22 23:32:51 +02:00
|
|
|
-DFEATURE_ENABLE_OLED
|
|
|
|
-DFEATURE_ENABLE_CAN
|
2023-02-19 14:42:40 +01:00
|
|
|
;-DFEATURE_ENABLE_GPS
|
2023-02-23 23:14:58 +01:00
|
|
|
-DFEATURE_ENABLE_WEBSOCKETS
|
2022-08-22 23:32:51 +02:00
|
|
|
-DPCB_REV=4
|
2023-02-24 00:52:51 +01:00
|
|
|
;-DNO_MODE_FLASH
|
2022-08-19 00:10:42 +02:00
|
|
|
|
2022-08-21 11:28:58 +02:00
|
|
|
;build_type = debug
|
2022-01-07 21:35:06 +01:00
|
|
|
|
2022-01-07 21:02:27 +01:00
|
|
|
board_build.filesystem = littlefs
|
2022-08-22 23:32:51 +02:00
|
|
|
extra_scripts = post:prepare_littlefs.py
|
2022-01-07 21:02:27 +01:00
|
|
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
2022-02-10 22:33:52 +01:00
|
|
|
board_build.ldscript = eagle.flash.4m1m.ld
|
2022-01-07 21:02:27 +01:00
|
|
|
lib_ldf_mode = deep
|
|
|
|
lib_deps =
|
|
|
|
olikraus/U8g2 @ ^2.28.8
|
2023-02-24 00:06:31 +01:00
|
|
|
https://github.com/FastLED/FastLED.git#3d2ab78 ;fastled/FastLED @ ^3.5.0
|
2022-01-08 03:14:26 +01:00
|
|
|
sstaub/Ticker @ ^4.2.0
|
2022-01-31 09:26:10 +01:00
|
|
|
coryjfowler/mcp_can @ ^1.5.0
|
2022-02-10 22:32:40 +01:00
|
|
|
robtillaart/I2C_EEPROM @ ^1.5.2
|
2022-02-15 23:27:39 +01:00
|
|
|
mikalhart/TinyGPSPlus @ ^1.0.3
|
|
|
|
me-no-dev/ESP Async WebServer @ ^1.2.3
|
2022-09-01 23:46:20 +02:00
|
|
|
bblanchon/ArduinoJson @ ^6.19.4
|