-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
129 lines (110 loc) · 3.59 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = lolin_c3_mini
[common]
platform = [email protected]
framework = arduino
build_flags = -DAPP_VERSION=\"1.11.0\"
-Iprivate -Iconfig -DDEBUG_ENABLED
-D PIOENV=\"$PIOENV\" -D PIOPLATFORM=\"$PIOPLATFORM\"
-D PIOFRAMEWORK=\"$PIOFRAMEWORK\"
extra_scripts = post:extra_script.py
monitor_speed = 115200
upload_speed = 460800
[env:esp32-c3-devkitm-1]
extends = common
board = esp32-c3-devkitm-1
build_flags = ${common.build_flags} -DBOARD_LED_ON=0 -DESP32C3
[env:lolin_c3_mini]
extends = common
board = lolin_c3_mini
build_flags = ${common.build_flags} -DBOARD_LED_ON=0 -DESP32C3
lib_deps = Freenove WS2812 Lib for [email protected]
; Ai-Thinker ESP-C3-M1-I-Kit
[env:esp32-c3-m1i-kit]
extends = common
board = esp32-c3-m1i-kit
build_flags = ${common.build_flags} -DBOARD_LED_ON=0 -DESP32C3
[env:esp32-s3-devkitc-1]
extends = common
board = esp32-s3-devkitc-1
build_flags = ${common.build_flags} -DBOARD_LED_ON=0 -DESP32S3
[env:lolin_s3]
extends = common
board = lolin_s3
build_flags = ${common.build_flags} -DBOARD_LED_ON=0 -DESP32S3
[env:esp32-poe]
extends = common
board = esp32-poe
build_flags = ${common.build_flags} -DBUILTIN_LED=33 -DBOARD_LED_ON=0 -DHAVE_ETH_IF
;upload_command = ./private/upload-esp32-poe.sh
[env:esp32-s2-saola-1]
extends = common
board = esp32-s2-saola-1
build_flags = ${common.build_flags} -DESP32S2
# upload_command = ./private/upload-esp32-s2-saola-1.sh
[env:lilygo-t-eth-poe]
extends = common
board = lilygo-t-eth-poe
build_flags = ${common.build_flags} -DTEST_BUTTONS -DHAVE_ETH_IF -DBOARD_HAS_SDCARD_SLOT
;upload_port = dummy
;upload_command = ./private/upload-lilygo-t-eth-poe.sh
[env:wt32-eth01]
extends = common
board = wt32-eth01
build_flags = ${common.build_flags} -DHAVE_ETH_IF
;upload_port = dummy
;upload_command = ./private/upload-wt32-eth01.sh
[env:lolin32lite]
extends = common
board = lolin32
build_flags = ${common.build_flags} -DBOARD_LED_ON=0
; upload_command = ./private/upload-lolin32lite.sh
[env:lolin32]
extends = common
board = lolin32
build_flags = ${common.build_flags} -DBOARD_LED_ON=0
;upload_command = ./private/upload-lolin32.sh
; PIO Debugger settings with espressif's esp-prog
;
; macOS 10.14.x unload FTDI kernel extension first
; otherwise the debugger will not work
; > sudo kextunload /System/Library/Extensions/AppleUSBFTDI.kext
;
;upload_protocol = esp-prog
;debug_tool = esp-prog
;debug_init_break = tbreak setup
[env:esp32cam]
extends = common
board = esp32cam
build_flags = ${common.build_flags} -DBOARD_LED_ON=0 -DBOARD_HAS_SDCARD_SLOT -DOTA_DISABLED
; board_build.partitions = huge_app.csv
;upload_command = ./private/upload-esp32cam.sh
[env:heltec_wifi_lora_32]
extends = common
board = heltec_wifi_lora_32
build_flags = ${common.build_flags} -DBOARD_LED_ON=1
;upload_command = ./private/upload-heltec_wifi_lora_32.sh
[env:esp32dev]
extends = common
board = esp32dev
build_flags = ${common.build_flags} -D BUILTIN_LED=2 -DBOARD_LED_ON=1
;upload_command = ./private/upload-esp32dev.sh
[env:esp32s3box]
extends = common
board = esp32s3box
build_flags = ${common.build_flags} -DESP32S3
;upload_command = ./private/upload-esp32s3box.sh
[env:wemos_d1_mini32]
extends = common
board = wemos_d1_mini32
build_flags = ${common.build_flags} -DBOARD_LED_ON=1
; upload_command = ./private/upload-wemos_d1_mini32.sh