Open
Description
With the "Apple Silicon" announcement earlier this year, are there any plans for macOS/arm64 support? As I understand it this at least requires updates to the avr-toolchain and avrdude
along with other stuff I may not be aware of.
My primary interest is in getting avrdude
working on an arm64 Mac. I've got access to one of the dev kit machines and have managed to compile a version on it. However, I've yet to successfully flash an Arduino from with the same parameters I've used from an Intel Mac.
I realize that some of the above may be better suited to the arduino/avrdude-build-script repo (which I just discovered), but I'm also generally interested in the Arduino IDE on this upcoming platform.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
ubidefeo commentedon Oct 21, 2020
hi @neilpa-inv
we have of course considered this, and got our hands on a dev kit.
In the initial phase of the transition everything should keep working thanks to Rosetta 2, but in the future we should have native versions of every bit of software we release.
Of course we cannot account for 3rd party tools which are simply installed via our Boards Manager, but when it comes to binaries we build internally we'll make sure they are running properly on every major platform.
brandwe commentedon Nov 24, 2020
I have tried this and want to report that using the opensdk build by Azul using these instructions I still get an error after successful compile. I'll post back as I find more, but I'm sure it has to do with some x86 binaries in the keychain.
Grippy98 commentedon Feb 4, 2021
@brandwe Well I got it to build just fine on first try, but alas "Error loading Java on startup"
Edit: Looks like the same you were experiencing. Not sure if GCC or some other x86 but yeah I suspect that's the case. Will look into it as well.
Looks like the lines it gets stuck on at the end there are:
and
I managed to get arm-binutils compiled but still fail on avr-gcc proper because "
toplev::main(int, char**) in libbackend.a(toplev.o)ld: symbol(s) not found for architecture arm64
"parreirat commentedon Feb 18, 2021
I've been scouring the internet for the past couple hours trying to get M1 to detect my Mega2560 R3. Does not show up in serial ports at all. Have rebooted repeatedly, replugged, tried different cables, usb hubs.
OSX is not even recognizing an "Unknown device" or similar: cannot detect any trace of board from PC.
Tried from Arduino IDE Pro, Arduino IDE, arduino-cli with
arduino-cli board list
Tried installing drivers listed here, but did not help (and figures: it's listed for 10.9 up, so my hopes were low)
https://learn.sparkfun.com/tutorials/how-to-install-ftdi-drivers/all#mac
Grippy98 commentedon Feb 18, 2021
Very curious, just tried with both a genuine and a clone Mega 2560 R3 just now and both uploaded fine. What version of Arduino are you running?
I should add it shows up as a "Communications Device" as you can see on the bottom right.
parreirat commentedon Feb 18, 2021
Godammit, can't believe it works for you on the "same setup"
I'm also on 11.2.1, and arduino 1.8.13 as well... I just don't get it showing up as a port.
USV shows nothing either.
How are you running the board? I have the USB-B cable that came with it hooked onto my external USB C/A hub.
Currently trying to set up GO + build this PR from arduino-user-agent that claims to add M1 support (experimental, not really a lot of info, but I found it):
arduino/arduino-create-agent#617
And not being able to build it. Compiling it on M1 terminal blows up with "Too many errors", didn't realy bother digging into it properly yet, and with a Rosetta terminal I get a segmentation fault just installing Go.
I just get this "composite device" which I don't think is it, since it's there even if I unplug the board.
Grippy98 commentedon Feb 18, 2021
I assume that "scarlet" is a USB Audio interface? Try that port?
parreirat commentedon Feb 19, 2021
I had already tried the board on all 3 ports of my hub with everything else disconnected - did not help
(yes, it's an audio interface)
neilpa-inv commentedon Feb 19, 2021
@parreirat this sounds like a hardware problem with the Arduino or the cable/hub. Especially since it's not showing up in the USB device tree.
Correct. You can see in the screenshot that @Grippy98 shared it's listed as "Communications Device" with different vendor and product IDs. You can also see Arduino under the manufacturer field.
9 remaining items