-
Notifications
You must be signed in to change notification settings - Fork 20
/
platformio.ini
50 lines (48 loc) · 1.56 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
; 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
[env]
upload_speed = 921600
monitor_speed = 115200 ; must remain at 115200 for improv
;monitor_speed = 74880 ; hardware default
board_build.filesystem = littlefs
[env:ratgdo_esp8266_hV25]
framework = arduino
platform = espressif8266
board = d1_mini
board_build.ldscript = eagle.flash.4m2m.ld
build_flags =
-Llib/lwip2
-llwip2-536
${env.build_flags}
'-Wno-unused-variable'
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
-D PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48_SECHEAP_SHARED
-D LOG_MSG_BUFFER
-D ENABLE_CRASH_LOG
-D NTP_CLIENT
-D USE_NTP_TIMESTAMP
-D LEGACY_SETTINGS_MIGRATION
-D HOMEKIT_USE_IRAM
-D GW_PING_CHECK
; -D CRASH_DEBUG
; -D CHUNK_WEB_PAGES
; -D DEBUG_UPDATER=Serial
monitor_filters = esp8266_exception_decoder
lib_deps =
https://github.com/dkerr64/Arduino-HomeKit-ESP8266.git#1e95cd6e5d031b2b806176c34f3bc9a418277fd8
https://github.com/jgstroud/EspSaveCrash.git#cf2803abfa51a83c93548f2591d4564a47845a72
esphome/Improv@^1.2.3
https://github.com/ratgdo/espsoftwareserial.git#autobaud
dancol90/ESP8266Ping@^1.1.0
lib_ldf_mode = deep+
extra_scripts =
build_flags.py
pre:build_web_content.py
pre:auto_firmware_version.py