Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 895091a

Browse files
authored
Add strict option for PIO
; Checks for the compatibility with frameworks and dev/platforms lib_compat_mode = strict
1 parent 9670667 commit 895091a

File tree

1 file changed

+362
-0
lines changed

1 file changed

+362
-0
lines changed

platformio/platformio.ini

Lines changed: 362 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,362 @@
1+
;PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; https://docs.platformio.org/page/projectconf.html
10+
11+
[platformio]
12+
; ============================================================
13+
; chose environment:
14+
; ESP8266
15+
; ESP32
16+
; SAMD
17+
; NRF52
18+
; STM32
19+
; pico
20+
; ============================================================
21+
;default_envs = ESP8266
22+
;default_envs = ESP32
23+
;default_envs = SAMD
24+
default_envs = pico
25+
;default_envs = NRF52
26+
;default_envs = STM32
27+
;default_envs = portenta_h7_m7
28+
;default_envs = portenta_h7_m4
29+
30+
[env]
31+
; ============================================================
32+
; Serial configuration
33+
; choose upload speed, serial-monitor speed
34+
; ============================================================
35+
upload_speed = 921600
36+
;upload_port = COM11
37+
;monitor_speed = 9600
38+
;monitor_port = COM11
39+
40+
; Checks for the compatibility with frameworks and dev/platforms
41+
lib_compat_mode = strict
42+
43+
lib_deps =
44+
45+
46+
build_flags =
47+
; set your debug output (default=Serial)
48+
; -D DEBUG_ESP_PORT=Serial
49+
; comment the folowing line to enable WiFi debugging
50+
; -D NDEBUG
51+
52+
[env:portenta_h7_m7]
53+
platform = ststm32
54+
board = portenta_h7_m7
55+
framework = arduino
56+
57+
[env:portenta_h7_m4]
58+
platform = ststm32
59+
board = portenta_h7_m4
60+
framework = arduino
61+
62+
[env:pico]
63+
; ============================================================
64+
; Just a sample
65+
; You have to research and fix if there is issue
66+
; ============================================================
67+
platform = raspberrypi
68+
board = pico
69+
framework = arduino
70+
upload_protocol = picotool
71+
72+
[env:ESP8266]
73+
platform = espressif8266
74+
framework = arduino
75+
; ============================================================
76+
; Board configuration
77+
; choose your board by uncommenting one of the following lines
78+
; ============================================================
79+
;board = gen4iod
80+
;board = huzzah
81+
;board = oak
82+
;board = esp_wroom_02
83+
;board = espduino
84+
;board = espectro
85+
;board = espino
86+
;board = espresso_lite_v1
87+
;board = espresso_lite_v2
88+
;board = esp12e
89+
;board = esp01_1m
90+
;board = esp01
91+
;board = esp07
92+
;board = esp8285
93+
;board = heltec_wifi_kit_8
94+
;board = inventone
95+
;board = nodemcu
96+
board = nodemcuv2
97+
;board = modwifi
98+
;board = phoenix_v1
99+
;board = phoenix_v2
100+
;board = sparkfunBlynk
101+
;board = thing
102+
;board = thingdev
103+
;board = esp210
104+
;board = espinotee
105+
;board = d1
106+
;board = d1_mini
107+
;board = d1_mini_lite
108+
;board = d1_mini_pro
109+
;board = wifi_slot
110+
;board = wifiduino
111+
;board = wifinfo
112+
;board = wio_link
113+
;board = wio_node
114+
;board = xinabox_cw01
115+
;board = esp32doit-devkit-v1
116+
117+
[env:ESP32]
118+
platform = espressif32
119+
framework = arduino
120+
; ============================================================
121+
; Board configuration
122+
; choose your board by uncommenting one of the following lines
123+
; ============================================================
124+
;board = esp32cam
125+
;board = alksesp32
126+
;board = featheresp32
127+
;board = espea32
128+
;board = bpi-bit
129+
;board = d-duino-32
130+
board = esp32doit-devkit-v1
131+
;board = pocket_32
132+
;board = fm-devkit
133+
;board = pico32
134+
;board = esp32-evb
135+
;board = esp32-gateway
136+
;board = esp32-pro
137+
;board = esp32-poe
138+
;board = oroca_edubot
139+
;board = onehorse32dev
140+
;board = lopy
141+
;board = lopy4
142+
;board = wesp32
143+
;board = esp32thing
144+
;board = sparkfun_lora_gateway_1-channel
145+
;board = ttgo-lora32-v1
146+
;board = ttgo-t-beam
147+
;board = turta_iot_node
148+
;board = lolin_d32
149+
;board = lolin_d32_pro
150+
;board = lolin32
151+
;board = wemosbat
152+
;board = widora-air
153+
;board = xinabox_cw02
154+
;board = iotbusio
155+
;board = iotbusproteus
156+
;board = nina_w10
157+
158+
[env:SAMD]
159+
platform = atmelsam
160+
framework = arduino
161+
; ============================================================
162+
; Choose your board by uncommenting one of the following lines
163+
; ============================================================
164+
; ============================================================
165+
; Board configuration Adafruit SAMD
166+
; ============================================================
167+
168+
;board = adafruit_feather_m0
169+
;board = adafruit_feather_m0_express
170+
;board = adafruit_metro_m0
171+
;board = adafruit_circuitplayground_m0
172+
;board = adafruit_gemma_m0
173+
;board = adafruit_trinket_m0
174+
;board = adafruit_itsybitsy_m0
175+
;board = adafruit_pirkey
176+
;board = adafruit_hallowing
177+
;board = adafruit_crickit_m0
178+
;board = adafruit_metro_m4
179+
;board = adafruit_grandcentral_m4
180+
board = adafruit_itsybitsy_m4
181+
;board = adafruit_feather_m4
182+
;board = adafruit_trellis_m4
183+
;board = adafruit_pyportal_m4
184+
;board = adafruit_pyportal_m4_titano
185+
;board = adafruit_pybadge_m4
186+
;board = adafruit_metro_m4_airliftlite
187+
;board = adafruit_pygamer_m4
188+
;board = adafruit_pygamer_advance_m4
189+
;board = adafruit_pybadge_airlift_m4
190+
;board = adafruit_monster_m4sk
191+
;board = adafruit_hallowing_m4
192+
193+
; ============================================================
194+
; Board configuration Arduino SAMD and SAM
195+
; ============================================================
196+
197+
;board = arduino_zero_edbg
198+
;board = arduino_zero_native
199+
;board = mkr1000
200+
;board = mkrzero
201+
;board = mkrwifi1010
202+
;board = nano_33_iot
203+
;board = mkrfox1200
204+
;board = mkrwan1300
205+
;board = mkrwan1310
206+
;board = mkrgsm1400
207+
;board = mkrnb1500
208+
;board = mkrvidor4000
209+
;board = adafruit_circuitplayground_m0
210+
;board = mzero_pro_bl_dbg
211+
;board = mzero_pro_bl
212+
;board = mzero_bl
213+
;board = tian
214+
;board = tian_cons
215+
;board = arduino_due_x_dbg
216+
;board = arduino_due_x
217+
218+
; ============================================================
219+
; Board configuration Seeeduino SAMD
220+
; ============================================================
221+
222+
;board = seeed_wio_terminal
223+
;board = Seeed_femto_m0
224+
;board = seeed_XIAO_m0
225+
;board = Wio_Lite_MG126
226+
;board = WioGPS
227+
;board = zero
228+
;board = rolawan
229+
;board = seeed_grove_ui_wireless
230+
231+
232+
[env:NRF52]
233+
platform = nordicnrf52
234+
framework = arduino
235+
; ============================================================
236+
; Board configuration Adafruit nRF52
237+
; choose your board by uncommenting one of the following lines
238+
; ============================================================
239+
;board = feather52832
240+
board = feather52840
241+
;board = feather52840sense
242+
;board = itsybitsy52840
243+
;board = cplaynrf52840
244+
;board = cluenrf52840
245+
;board = metro52840
246+
;board = pca10056
247+
;board = particle_xenon
248+
;board = mdbt50qrx
249+
;board = ninab302
250+
;board = ninab112
251+
252+
[env:STM32]
253+
platform = ststm32
254+
framework = arduino
255+
256+
; ============================================================
257+
; Choose your board by uncommenting one of the following lines
258+
; ============================================================
259+
260+
; ============================================================
261+
; Board configuration Nucleo-144
262+
; ============================================================
263+
264+
;board = nucleo_f207zg
265+
;board = nucleo_f429zi
266+
;board = nucleo_f746zg
267+
;board = nucleo_f756zg
268+
;board = nucleo_f767zi
269+
;board = nucleo_h743zi
270+
;board = nucleo_l496zg
271+
;board = nucleo_l496zg-p
272+
;board = nucleo_l4r5zi
273+
;board = nucleo_l4r5zi-p
274+
275+
; ============================================================
276+
; Board configuration Nucleo-64
277+
; ============================================================
278+
279+
;board = nucleo_f030r8
280+
;board = nucleo_f072rb
281+
282+
;board = nucleo_f091rc
283+
;board = nucleo_f103rb
284+
;board = nucleo_f302r8
285+
;board = nucleo_f303re
286+
;board = nucleo_f401re
287+
;board = nucleo_f411re
288+
;board = nucleo_f446re
289+
;board = nucleo_g071rb
290+
;board = nucleo_g431rb
291+
;board = nucleo_g474re
292+
;board = nucleo_l053r8
293+
;board = nucleo_l073rz
294+
;board = nucleo_l152re
295+
;board = nucleo_l433rc_p
296+
;board = nucleo_l452re
297+
;board = nucleo_l452re-p
298+
;board = nucleo_l476rg
299+
;board = pnucleo_wb55rg
300+
301+
; ============================================================
302+
; Board configuration Nucleo-32
303+
; ============================================================
304+
305+
;board = nucleo_f031k6
306+
;board = nucleo_l031k6
307+
;board = nucleo_l412kb
308+
;board = nucleo_l432lc
309+
;board = nucleo_f303k8
310+
;board = nucleo_g431kb
311+
312+
; ============================================================
313+
; Board configuration Discovery Boards
314+
; ============================================================
315+
316+
;board = disco_f030r8
317+
;board = disco_f072rb
318+
;board = disco_f030r8
319+
;board = disco_f100rb
320+
;board = disco_f407vg
321+
;board = disco_f413zh
322+
;board = disco_f746ng
323+
;board = disco_g0316
324+
;board = disco_l475vg_iot
325+
;board = disco_f072cz-lrwan1
326+
327+
; ============================================================
328+
; Board configuration STM32MP1 Boards
329+
; ============================================================
330+
331+
;board = stm32mp157a-dk1
332+
;board = stm32mp157c-dk2
333+
334+
; ============================================================
335+
; Board configuration Generic Boards
336+
; ============================================================
337+
338+
;board = bluepill_f103c6
339+
;board = bluepill_f103c8
340+
;board = blackpill_f103c8
341+
;board = stm32f103cx
342+
;board = stm32f103rx
343+
;board = stm32f103tx
344+
;board = stm32f103vx
345+
;board = stm32f103zx
346+
;board = stm32f103zet6
347+
;board = maplemini_f103cb
348+
;board = blackpill_f303cc
349+
;board = black_f407ve
350+
;board = black_f407vg
351+
;board = black_f407ze
352+
;board = black_f407zg
353+
;board = blue_f407ve_mini
354+
;board = blackpill_f401cc
355+
;board = blackpill_f411ce
356+
;board = coreboard_f401rc
357+
;board = feather_f405
358+
359+
; ============================================================
360+
; Board configuration Many more Boards to be filled
361+
; ============================================================
362+

0 commit comments

Comments
 (0)