-
Notifications
You must be signed in to change notification settings - Fork 5
/
platformio.ini
72 lines (70 loc) · 2.85 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
; 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
[common_env_data]
framework = arduino
platform = espressif8266
upload_speed = 460800 ; 921600 // MacBook can't handle the heat!
monitor_speed = 74880
monitor_filters =
; esp8266_exception_decoder
; log2file
build_unflags =
build_flags =
!python tools/git_rev.py
-D PIO_SRC_TAG=2.2.3
-D BAUD=${common_env_data.monitor_speed}
; -D DEBUG_ESP_PORT=Serial
; -D DEBUG_ESP_WIFI
; -D DEBUG_ESP_HTTP_UPDATE
; -D DEBUG_ESP_HTTP_CLIENT
; -D DEBUG_ESP_UPDATE
; -D DEBUG_ESP_OTA
; -D DEBUG_ESP_OOM
; -include "umm_malloc/umm_malloc_cfg.h"
; -D DEBUG_ESP_CORE
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY ; v2 Lower Memory (default)
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH ; v2 Higher Bandwidth
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH ; v2 Lower Memory (no features)
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH ; v2 Higher Bandwidth (no features)
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_LOW_MEMORY ; v2 IPv6 Lower Memory
; -D PIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH ; v2 IPv6 Higher Bandwidth
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH ; v1.4 Higher Bandwidth (Needed because of stream errors getting Filesystem OTA)
extra_scripts = ; pre:python tools\name_firmware.py
lib_deps =
ArduinoJson
https://github.com/lbussy/OneWire.git
https://github.com/lbussy/DS18B20.git
https://github.com/lbussy/Arduino-Log.git
https://github.com/lbussy/ESPAsyncTCP
https://github.com/lbussy/ESPAsyncWebServer.git#littlefs
https://github.com/lbussy/AsyncWiFiManager.git
https://github.com/lbussy/asyncHTTPrequest.git
https://github.com/lbussy/CircularBuffer.git
https://github.com/lbussy/LCBUrl.git
https://github.com/lbussy/esptelnet.git
khoih-prog/ESP_WiFiManager
https://github.com/lbussy/thingspeak-arduino.git
https://github.com/lbussy/ESP_DoubleResetDetector.git
build_type = release ; Cannot use debug with Wemos D1
[env:d1_mini]
board = d1_mini
framework = ${common_env_data.framework}
platform = ${common_env_data.platform}
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
monitor_filters = ${common_env_data.monitor_filters}
build_unflags = ${common_env_data.build_unflags}
build_flags =
${common_env_data.build_flags}
-D USE_LITTLEFS
extra_scripts = ${common_env_data.extra_scripts}
lib_deps = ${common_env_data.lib_deps}
build_type = ${common_env_data.build_type}
board_build.filesystem = littlefs