From 959225c2528442ab81b4696b77324aea26e026ba Mon Sep 17 00:00:00 2001 From: pmantoine Date: Sun, 3 Jul 2022 18:01:24 +0700 Subject: [PATCH] Added Arduino Zero USB platform support --- platformio.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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