add environment seed for button exemple
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
+[platformio]
+default_envs = zero
[env:zero]
lib_extra_dirs = ../../../../../
@@ -24,3 +26,20 @@ build_flags =
lib_deps =
luos_engine@^2.4.0
Button
+
+[env:seed]
+lib_extra_dirs = ../../../../../
+lib_ldf_mode =off
+platform = atmelsam
+board = seeed_xiao
+framework = arduino
+platform_packages = framework-arduino-samd-seeed@https://github.com/Luos-io/Arduino_core.git
+build_unflags = -Os
+build_flags =
+ -O1
+ -I inc
+ -include node_config.h
+ -D LUOSHAL=ATSAMD21_ARDUINO
+lib_deps =
+ luos_engine@^2.4.0
+ Button
