File tree 1 file changed +11
-1
lines changed
arduino-core/src/cc/arduino/contributions/packages
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) {
50
50
String host = getHost ();
51
51
52
52
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" )) {
54
64
return host .matches ("x86_64-.*linux-gnu" );
55
65
} else {
56
66
return host .matches ("i[3456]86-.*linux-gnu" );
You can’t perform that action at this time.
0 commit comments