-
-
Notifications
You must be signed in to change notification settings - Fork 398
Requesting ARM6 build for Raspberry Pi Zero #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this! To tide you over until the installation script is fixed, there is a Raspberry Pi compatible version of arduino-cli available at the "arduino-cli_0.4.0_Linux_32bit.tar.gz" link here: |
Hi @Tatwi, at this stage we only distribute binaries for ARMv7 and later, this is something that might change if users ask for it but I'm not sure about implications right now. As a workaround, have you tried building the CLI yourself? The contributing page provides some guidance but feel free to reach out should you have any issue with the build. Let's use this issue to collect feature requests, if anybody else needs an ARMv6 distribution please leave your feedback or upvote OP. |
Thanks masci. I'll build it myself when I have time to put together the toolchain (I don't use the software that you use, so I don't have it setup). My thoughts on why having an ARM6 build would be beneficial are thus:
Personally I am just slapping my UNO together with my Zero for the sake of doing so, but I'm sure there are others out there who are enjoying the combination of computing power, small size, low power requirements, and ability to program multiple Arduinos on the fly ("Smart" robots for instance). I think it's worth doing, at least until the Pi Zero is no longer being sold as an ARM6 device. |
@masci there should be no implications in moving the default ARM 32 bit build to ARMv6 (in fact, |
@Tatwi I don't have a Pi Zero at hand, can you see if https://github.com/arduino/arduino-cli/releases/download/0.4.0-armv6/arduino-cli_0.4.0-armv6_Linux_ARMv6.tar.gz works? If it works I'll merge #341 and ARMv6 builds will be effective starting with the next nightly |
I should have some time to test it this week, Massimiliano. I'll let you
know how it goes.
…On Mon., Aug. 12, 2019, 5:31 a.m. Massimiliano Pippi, < ***@***.***> wrote:
@Tatwi <https://github.com/Tatwi> I don't have a Pi Zero at hand, can you
see if
https://github.com/arduino/arduino-cli/releases/download/0.4.0-armv6/arduino-cli_0.4.0-armv6_Linux_ARMv6.tar.gz
works? If it works I'll merge #341
<#341> and ARMv6 builds will
be effective starting with the next nightly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#340?email_source=notifications&email_token=ACEWORTE37RY2XFOGXB4LMTQEEUXJA5CNFSM4IKWZP32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CAFPQ#issuecomment-520356542>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEWORQ52244HL4E54ZGX4DQEEUXJANCNFSM4IKWZP3Q>
.
|
I gave it a try on armv6 (Linux raspberrypi 4.14.79 #1 Sun Jan 27 22:47:58 UTC 2019 armv6l, raspbian_lite). Works like a charm. No errors detected. |
I just finished testing https://github.com/arduino/arduino-cli/releases/download/0.4.0-armv6/arduino-cli_0.4.0-armv6_Linux_ARMv6.tar.gz on my Raspberry Pi Zero W (running Debian Buster) and it worked perfectly with my Arduino UNO. Thanks! FYI for anyone interested: The test sketch took between 5-10 seconds to compile and update the UNO, using a class 10 SD card. Might be faster using a RAM Drive for /tmp and anywhere else object code gets splatted during compilation. |
As a newcomer, this made me assume ARMv6 is not supported so I searched the issues, found arduino#340, which suggested building from source so I did, only to discover an ARMv6 binary in the release files. As for the table layout, it's not ideal. It would also make sense to have this in another column.
As a newcomer, this made me assume ARMv6 is not supported so I searched the issues, found #340, which suggested building from source so I did, only to discover an ARMv6 binary in the release files. As for the table layout, it's not ideal. It would also make sense to have this in another column.
Your install.sh script indicated the following:
"Sorry, we dont have a dist for your system: Linux armv6
You can request one here: https://github.com/Arduino/arduino-cli/issues"
As such, I would like to request a build for ARM6 that is compatible with the Raspberry Pi Zero (and Zero W).
Thanks! :)
The text was updated successfully, but these errors were encountered: