diff --git a/platformio.ini b/platformio.ini index a8b1e8b..740c8cc 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,6 +16,7 @@ default_envs = unowifiR2 nano samd21-dev-usb + samd21-zero-usb src_dir = . include_dir = . @@ -33,6 +34,17 @@ monitor_speed = 115200 monitor_flags = --echo build_flags = -std=c++17 -DI2C_USE_WIRE -DDISABLE_EEPROM +[env:samd21-zero-usb] +platform = atmelsam +board = zeroUSB +framework = arduino +upload_protocol = sam-ba +lib_deps = + ${env.lib_deps} +monitor_speed = 115200 +monitor_flags = --echo +build_flags = -std=c++17 -DI2C_USE_WIRE -DDISABLE_EEPROM + [env:samc21-firebox] platform = atmelsam board = firebox