-
-
Notifications
You must be signed in to change notification settings - Fork 431
MacOS M1 ARM support #666
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
There are no official ARM Linux builds of Arduino IDE 2.x. Only the classic Arduino IDE is built for these host architectures: #107 |
@MattElek |
Hey there, I'm wondering what the current roadblocks are...is it upstream stuff with Theia? If there's any work that's been done, I can try to continue off of that. |
Hi @SConaway, the current roadblocks are related to the theia version, that relies on node 14 and an outdated version of Electron. Luckily, we have a PR in the making, that updates both of them and could enable the M1 native build. If you want to give us a feedback/help, I'd checkout the PR, then - on an M1 mac - run these commands
If you can post the output that would be a great starting point for us to assess what is the updated state of the build |
The platform index specification has only 6 architecture names defined.
Even if the IDE were built native for M1, the tools it runs to actually compile & upload code do not seem to have any way to support M1 until this is updated. |
That is only the list of host values used in the example package index above that statement:
The full list is described by this algorithm: So the case "darwin,arm64":
// Compatibility guaranteed through Rosetta emulation
if regexpMac64.MatchString(f.OS) {
// Prefer amd64 version if available
return true, 20
}
return regexpMac32.MatchString(f.OS), 10 I had aspirations of providing comprehensive documentation for the supported |
Hey @fstasi, wasn't sure where to reply with logs. Everything went fine until the actual
It's an issue in the |
So, I am looking into things and it seems that the issue is the fact that theia wants node v14 to be used. Because of this, |
so can you release your compiled version? |
no, I can't release things for arduino... |
just a download link for your compiled version |
@SConaway if you found a workaround for node-gyp compiling for x86_64 I'll create an official (signed) release and upload it. |
@SConaway you can build the project with node v16 by using node 16 on your machine and then run yarn with the |
Is your feature request related to a problem? Please describe.
Currently, the Arduino IDE is only built for MacOS x86, and not MacOS M1 ARM. It is however built for ARM32 and ARM64 Linux.
Describe the solution you'd like
A build of the Arduino IDE for ARM64.
Describe alternatives you've considered
Rosetta 2 x86 translation works as expected, but it's not native.
Additional context
Pyserial seems to have already ironed out most issues on ARM. Additionally, there are already ARM64 Arduino ports for Linux.
The text was updated successfully, but these errors were encountered: