22; For UnitTest and examples using M5UnitUnified local sources
33; -----------------------------------------------------------------------
44[platformio]
5+ src_dir = ../src
56
67[env]
78build_flags = -Wall -Wextra -Wreturn-local-addr -Werror =format -Werror =return-local-addr
@@ -10,7 +11,8 @@ test_framework = googletest
1011test_build_src = true
1112
1213; My local sources
13- lib_extra_dirs = ../
14+ lib_extra_dirs = ./lib
15+ ../
1416
1517lib_ldf_mode = deep
1618lib_deps =m5stack/M5Unified
@@ -26,10 +28,15 @@ lib_deps=m5stack/M5Unified
2628 m5stack/M5Unit-ANADIG
2729 m5stack/M5Unit-COLOR
2830 m5stack/M5Unit-THERMO
31+ m5stack/M5Unit-EXTIO
32+ m5stack/M5Unit-INFRARED
33+ m5stack/M5Unit-CRYPTO
2934 https://github.com/m5stack/M5Unit-RFID
3035 https://github.com/m5stack/M5Unit-DISTANCE
31- https://github.com/m5stack/M5Unit-EXTIO
3236 https://github.com/m5stack/M5Unit-KEYBOARD
37+ ; https://github.com/m5stack/M5Unit-KEYBOARD#develop
38+ ; boschsensortec/BME68x Sensor [email protected] 39+ ; boschsensortec/[email protected] 3340
3441; Ignore DL'd M5UnitUnified, using local!
3542lib_ignore = M5UnitUnified
@@ -103,10 +110,12 @@ extends = m5base
103110board = m5stack-nanoc6
104111platform = https://github.com/platformio/platform-espressif32.git
105112platform_packages =
106- platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git# idf-release/v5.1
113+ platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git# 3.0.7
107114 platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git# idf-release/v5.1
108115board_build.partitions = default.csv
109116lib_deps = ${env.lib_deps}
117+ lib_ignore = ${env.lib_ignore}
118+ bsec2
110119
111120[StickCPlus]
112121extends = m5base
@@ -263,190 +272,3 @@ extends=CoreInk, option_release
263272lib_deps = ${CoreInk.lib_deps}
264273 ${test_fw.lib_deps}
265274
266- ; examples Simple
267- [env:Simple_Core]
268- extends =Core, option_release
269- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
270-
271- [env:Simple_Core2]
272- extends =Core2, option_release
273- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
274-
275- [env:Simple_CoreS3]
276- extends =CoreS3, option_release
277- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
278-
279- [env:Simple_Fire]
280- extends =Fire, option_release
281- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
282-
283- [env:Simple_StampS3]
284- extends =StampS3, option_release
285- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
286-
287- [env:Simple_Dial]
288- extends =Dial, option_release
289- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
290-
291- [env:Simple_AtomMatrix]
292- extends =AtomMatrix, option_release
293- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
294-
295- [env:Simple_AtomS3]
296- extends =AtomS3, option_release
297- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
298-
299- [env:Simple_AtomS3R]
300- extends =AtomS3R, option_release
301- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
302-
303- [env:Simple_NanoC6]
304- extends =NanoC6, option_release
305- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
306-
307- [env:Simple_StickCPlus]
308- extends =StickCPlus, option_release
309- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
310-
311- [env:Simple_StickCPlus2]
312- extends =StickCPlus2, option_release
313- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
314-
315- [env:Simple_Paper]
316- extends =Paper, option_release
317- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
318-
319- [env:Simple_CoreInk]
320- extends =CoreInk, option_release
321- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/Simple>
322-
323- ; examples SelfUpdate
324- [env:SelfUpdate_Core]
325- extends =Core, option_release
326- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
327-
328- [env:SelfUpdate_Core2]
329- extends =Core2, option_release
330- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
331-
332- [env:SelfUpdate_CoreS3]
333- extends =CoreS3, option_release
334- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
335-
336- [env:SelfUpdate_Fire]
337- extends =Fire, option_release
338- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
339-
340- [env:SelfUpdate_StampS3]
341- extends =StampS3, option_release
342- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
343-
344- [env:SelfUpdate_Dial]
345- extends =Dial, option_release
346- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
347-
348- [env:SelfUpdate_AtomMatrix]
349- extends =AtomMatrix, option_release
350- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
351-
352- [env:SelfUpdate_AtomS3]
353- extends =AtomS3, option_release
354- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
355-
356- [env:SelfUpdate_AtomS3R]
357- extends =AtomS3R, option_release
358- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
359-
360- [env:SelfUpdate_NanoC6]
361- extends =NanoC6, option_release
362- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
363-
364- [env:SelfUpdate_StickCPlus]
365- extends =StickCPlus, option_release
366- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
367-
368- [env:SelfUpdate_StickCPlus2]
369- extends =StickCPlus2, option_release
370- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
371-
372- [env:SelfUpdate_Paper]
373- extends =Paper, option_release
374- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
375-
376- [env:SelfUpdate_CoreInk]
377- extends =CoreInk, option_release
378- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/SelfUpdate>
379-
380- ; examples ComponentOnly
381- [env:ComponentOnly_Core]
382- extends =Core, option_release
383- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
384-
385- [env:ComponentOnly_Core2]
386- extends =Core2, option_release
387- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
388-
389- [env:ComponentOnly_CoreS3]
390- extends =CoreS3, option_release
391- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
392-
393- [env:ComponentOnly_Fire]
394- extends =Fire, option_release
395- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
396-
397- [env:ComponentOnly_StampS3]
398- extends =StampS3, option_release
399- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
400-
401- [env:ComponentOnly_Dial]
402- extends =Dial, option_release
403- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
404-
405- [env:ComponentOnly_AtomMatrix]
406- extends =AtomMatrix, option_release
407- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
408-
409- [env:ComponentOnly_AtomS3]
410- extends =AtomS3, option_release
411- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
412-
413- [env:ComponentOnly_AtomS3R]
414- extends =AtomS3R, option_release
415- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
416-
417- [env:ComponentOnly_NanoC6]
418- extends =NanoC6, option_release
419- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
420-
421- [env:ComponentOnly_StickCPlus]
422- extends =StickCPlus, option_release
423- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
424-
425- [env:ComponentOnly_StickCPlus2]
426- extends =StickCPlus2, option_release
427- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
428-
429- [env:ComponentOnly_Paper]
430- extends =Paper, option_release
431- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
432-
433- [env:ComponentOnly_CoreInk]
434- extends =CoreInk, option_release
435- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/Basic/ComponentOnly>
436-
437- ; demo MultipleUnits
438- [env:MultipleUnits_Core]
439- extends =Core, option_release
440- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/demo/MultipleUnits>
441-
442- [env:MultipleUnits_Core2]
443- extends =Core2, option_release
444- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/demo/MultipleUnits>
445-
446- [env:MultipleUnits_CoreS3]
447- extends =CoreS3, option_release
448- build_src_filter = +<*> -<.git/> -<.svn/> +<../../examples/demo/MultipleUnits>
449-
450-
451-
452-
0 commit comments