48 lines
1.2 KiB
INI
48 lines
1.2 KiB
INI
; 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
|
|
|
|
upload_protocol = esptool
|
|
upload_speed = 921600
|
|
;upload_port = ChainLube_DDEFB2
|
|
;upload_protocol = espota
|
|
;upload_flags =
|
|
; --auth=${wifi_cred.admin_password}
|
|
|
|
build_flags =
|
|
!python git_rev_macro.py
|
|
-DWIFI_NOCLIENT
|
|
-DWIFI_SSID=${wifi_cred.wifi_ssid}
|
|
-DWIFI_PASSWORD=${wifi_cred.wifi_password}
|
|
-DADMIN_PASSWORD=${wifi_cred.admin_password}
|
|
-DWIFI_AP_PASSWORD=${wifi_cred.wifi_ap_password}
|
|
-DWIFI_AP_IP_GW=10,0,0,1
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
monitor_speed = 115200
|
|
|
|
board_build.ldscript = eagle.flash.4m.ld
|
|
lib_ldf_mode = deep
|
|
lib_deps =
|
|
olikraus/U8g2 @ ^2.28.8
|
|
joaolopesf/RemoteDebug @ ^2.1.2
|
|
fastled/FastLED @ ^3.5.0
|
|
sstaub/Ticker @ ^4.2.0
|
|
s00500/ESPUI @ ^2.0.0 |