-
Notifications
You must be signed in to change notification settings - Fork 4
/
platformio.ini
74 lines (71 loc) · 2.75 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
73
74
; 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]
description = Keg Cop is firmware to enable an ESP32 to track keg capacity and pours
default_envs = lolin_d32
[common]
framework = arduino
platform = espressif32 @ ~6.3.0
platform_packages = framework-arduinoespressif32 @ ~1.0.7
upload_speed = 460800 ; 921600 // Half speed for Lolin D32 on Mac
monitor_speed = 115200
build_flags =
!python tools/git_rev.py
-D BAUD=${common.monitor_speed}
-D CONFIG_ASYNC_TCP_RUNNING_CORE=1
-D CONFIG_ASYNC_TCP_USE_WDT=1
-D LCBURL_MDNS
; -D DEBUG_ESP_PORT=Serial
; -D DEBUG_ESP_WIFI
; -D DEBUG_ESP_CORE
-D CORE_DEBUG_LEVEL=0
; -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
extra_scripts =
pre:tools/env_defines.py
post:tools/doFS.py
lib_ignore = ;ESPAsynTCP
lib_deps =
paulstoffregen/OneWire @ ~2.3.7
lbussy/LCBUrl @ ~1.1.9
bblanchon/ArduinoJson @ ~6.21.2
https://github.com/lbussy/DS18B20_RT @ ~0.1.4
https://github.com/lbussy/Arduino-Log @ ~1.0.3
https://github.com/lbussy/AsyncWiFiManager.git
https://github.com/lbussy/AsyncTCP#smarthomerocks
https://github.com/lbussy/ESPAsyncWebServer @ ~1.2.3
https://github.com/lbussy/asyncHTTPrequest @ ~1.2.2
256dpi/MQTT @ ~2.5.1
https://github.com/lbussy/CircularBuffer @ ~1.3.3
https://github.com/lbussy/ESP_DoubleResetDetector @ ~1.3.1
https://github.com/lbussy/telnetspy
monitor_filters =
esp32_exception_decoder
; send_on_enter
; log2file
build_type = debug ; release
[env:lolin_d32]
board = lolin_d32
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
monitor_filters = ${common.monitor_filters}
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
build_type = ${common.build_type}
board_build.partitions = partitions.csv
board_build.filesystem = littlefs