-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathplatformio.ini
65 lines (58 loc) · 1.41 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
; 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]
default_envs = factory_test
; default_envs = light_demo
; default_envs = sensor_demo
; default_envs = zigbee2mqtt
lib_dir = .
src_dir = examples/${platformio.default_envs}
data_dir = examples/${platformio.default_envs}/data
[env]
platform = espressif32
board = ttgo-t-oi-plus
framework = arduino
board_build.mcu = esp32c3
board_build.f_cpu = 160000000L
upload_speed = 921600
monitor_speed = 115200
lib_ignore = examples
[env:factory_test]
extends = env
lib_deps =
mathertel/OneButton@^2.0.3
build_flags =
-fpermissive
; -D CORE_DEBUG_LEVEL=3
[env:light_demo]
extends = env
lib_deps =
mathertel/OneButton@^2.0.3
build_flags =
-fpermissive
; -D CORE_DEBUG_LEVEL=3
[env:sensor_demo]
extends = env
lib_deps =
mathertel/OneButton@^2.0.3
adafruit/DHT sensor library@^1.4.4
adafruit/Adafruit Unified Sensor@^1.1.5
build_flags =
-fpermissive
; -D CORE_DEBUG_LEVEL=3
[env:zigbee2mqtt]
extends = env
lib_deps =
bblanchon/ArduinoJson@^6.19.4
mathertel/OneButton@^2.0.3
build_flags =
-fpermissive
; -D CORE_DEBUG_LEVEL=3
board_build.filesystem = littlefs