Skip to content

Commit df7096f

Browse files
committed
Add: Support for SAMD/Zero boards
1 parent 6f4c667 commit df7096f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88

99
# associative array for the platforms that will be verified in build_main_platforms()
1010
# this will be eval'd in the functions below because arrays can't be exported
11-
export MAIN_PLATFORMS='declare -A main_platforms=( [uno]="arduino:avr:uno" [due]="arduino:sam:arduino_due_x" [esp8266]="esp8266:esp8266:huzzah" [leonardo]="arduino:avr:leonardo" )'
11+
export MAIN_PLATFORMS='declare -A main_platforms=( [uno]="arduino:avr:uno" [due]="arduino:sam:arduino_due_x" [zero]="arduino:samd:zero" [esp8266]="esp8266:esp8266:huzzah" [leonardo]="arduino:avr:leonardo" )'
1212

1313
# associative array for other platforms that can be called explicitly in .travis.yml configs
1414
# this will be eval'd in the functions below because arrays can't be exported
@@ -44,6 +44,10 @@ echo -n "DUE: "
4444
DEPENDENCY_OUTPUT=$(arduino --install-boards arduino:sam 2>&1)
4545
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96"; else echo -e "\xe2\x9c\x93"; fi
4646

47+
echo -n "ZERO: "
48+
DEPENDENCY_OUTPUT=$(arduino --install-boards arduino:samd 2>&1)
49+
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96"; else echo -e "\xe2\x9c\x93"; fi
50+
4751
echo -n "ESP8266: "
4852
DEPENDENCY_OUTPUT=$(arduino --install-boards esp8266:esp8266 2>&1)
4953
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96"; else echo -e "\xe2\x9c\x93"; fi

0 commit comments

Comments
 (0)