-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Support for macOS Big Sur on arm64 #10836
Comments
hi @neilpa-inv we have of course considered this, and got our hands on a dev kit. |
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.
|
@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: <antcall target="${platform}-run" />
<antcall target="${platform}-start" and <exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/> I managed to get arm-binutils compiled but still fail on avr-gcc proper because " |
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. Tried installing drivers listed here, but did not help (and figures: it's listed for 10.9 up, so my hopes were low) |
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. 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): 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. |
I assume that "scarlet" is a USB Audio interface? Try that port? |
I had already tried the board on all 3 ports of my hub with everything else disconnected - did not help |
@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. |
So you think it's more of a problem with hub/cable or arduino... I'll report back. Thanks! |
It was the USB B cable. I used another one and it's working flawlessly now :) |
Hi all,
|
@dinolupo Have you tried https://gist.github.com/pbosetti/027125c4ba066f51bf2c ? |
@Grippy98 yes thank you, same error on M1 unfortunately. |
It's not just M1. Compiling for Edison doesn't work on Intel-based Macintosh either, if running any version of MacOS newer than Mojave. As you can see in the screenshot, the problem is the toolchain in the "Arduino i686 Boards" package is a 32 bit executable ("Mach-O executable i386"). Apple ended support for 32 bit programs starting with Catalina. Just to be clear, it's not the Arduino IDE. The problem is within the boards package used for Edison. |
@PaulStoffregen ok thank you. I can imagine that there is no solution at this point, besides using another O.S. |
In theory, anyone could try to update the "Arduino i686 Boards" package. As far as I know, this is only the gcc toolchain which should be open source. With enough effort, there should be a way to rebuild the toolchain as x86-64 code. In practice, it's hard to imagine anyone would invest that sort of effort to support a board Intel discontinued years ago. And if anyone outside Arduino & Intel were to do it, whether Arduino would publish the updated the package might also be a good question. |
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.
The text was updated successfully, but these errors were encountered: