File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1010# this will be eval'd in the functions below because arrays can't be exported
1111# For creating a new main platform, please refer to https://arduino.github.io/arduino-cli/latest/platform-specification/#hardware-folders-structure
1212# and https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt
13- export MAIN_PLATFORMS=' declare -A main_platforms=([uno]="arduino:avr:uno" [mega2560]="arduino:avr:mega:cpu=atmega2560" [leonardo]="arduino:avr:leonardo" [due]="arduino:sam:arduino_due_x" [zero]="arduino:samd:arduino_zero_native" [mzero]="arduino:samd:mzero_bl" [mzeropro]="arduino:samd:mzero_pro_bl" [mkrzero]="arduino:samd:mkrzero" [mkr1000]="arduino:samd:mkr1000" [mkrwifi1010]="arduino:samd:mkrwifi1010" [opencr]="OpenCR:OpenCR:OpenCR" [portenta]="arduino-beta :mbed:envie_m7")'
13+ export MAIN_PLATFORMS=' declare -A main_platforms=([uno]="arduino:avr:uno" [mega2560]="arduino:avr:mega:cpu=atmega2560" [leonardo]="arduino:avr:leonardo" [due]="arduino:sam:arduino_due_x" [zero]="arduino:samd:arduino_zero_native" [mzero]="arduino:samd:mzero_bl" [mzeropro]="arduino:samd:mzero_pro_bl" [mkrzero]="arduino:samd:mkrzero" [mkr1000]="arduino:samd:mkr1000" [mkrwifi1010]="arduino:samd:mkrwifi1010" [opencr]="OpenCR:OpenCR:OpenCR" [portenta]="arduino:mbed:envie_m7")'
1414
1515# make display available for arduino CLI
1616/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
@@ -55,7 +55,7 @@ DEPENDENCY_OUTPUT=$(arduino --install-boards arduino:samd 2>&1)
5555if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96" ; else echo -e " \xe2\x9c\x93" ; fi
5656
5757echo -n " INSTALL Portenta H7: "
58- DEPENDENCY_OUTPUT=$( arduino --install-boards arduino-beta :mbed 2>&1 )
58+ DEPENDENCY_OUTPUT=$( arduino --install-boards arduino:mbed 2>&1 )
5959if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96" ; else echo -e " \xe2\x9c\x93" ; fi
6060
6161echo -n " INSTALL OpenCR: "
You can’t perform that action at this time.
0 commit comments