File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
arduino-core/src/cc/arduino/contributions/packages Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,17 @@ public boolean isCompatible(Platform platform) {
5050 String host = getHost ();
5151
5252 if (osName .contains ("Linux" )) {
53- if (osArch .contains ("amd64" )) {
53+ if (osArch .equals ("arm" )) {
54+ // Raspberry PI, BBB or other ARM based host
55+
56+ // PI: "arm-linux-gnueabihf"
57+ // Arch-linux on PI2: "armv7l-unknown-linux-gnueabihf"
58+ // Raspbian on PI2: "arm-linux-gnueabihf"
59+ // Ubuntu Mate on PI2: "arm-linux-gnueabihf"
60+ // Debian 7.9 on BBB: "arm-linux-gnueabihf"
61+ // Raspbian on PI Zero: "arm-linux-gnueabihf"
62+ return host .matches ("arm.*-linux-gnueabihf" );
63+ } else if (osArch .contains ("amd64" )) {
5464 return host .matches ("x86_64-.*linux-gnu" );
5565 } else {
5666 return host .matches ("i[3456]86-.*linux-gnu" );
You can’t perform that action at this time.
0 commit comments