Skip to content
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

Arduino IDE builtins Apple ARM support #2337

Closed
14 of 16 tasks
JosefWN opened this issue Jan 21, 2024 · 2 comments · Fixed by #2338
Closed
14 of 16 tasks

Arduino IDE builtins Apple ARM support #2337

JosefWN opened this issue Jan 21, 2024 · 2 comments · Fixed by #2338
Assignees
Labels
architecture: arm Specific to ARM host architecture conclusion: off topic Off topic for this repository conclusion: resolved Issue was resolved os: macos Specific to macOS operating system type: enhancement Proposed improvement

Comments

@JosefWN
Copy link

JosefWN commented Jan 21, 2024

Describe the request

Even with a boards definition with toolchains etc. fully supporting macOS ARM processors, some IDE builtins do not. I made this umbrella ticket to track support for Apple ARM in Arduino IDE. Feel free to close if you don't find it relevant, figured it could at the very least save people time when compiling their own replacement binaries (which is luckily fairly trivial, so the IDE is on the very cusp of native support).

Bundled Tools

"Built-in" Tool Dependencies

Platform Tool Dependencies

Describe the current behavior

The binaries won't execute without Rosetta, leaving the IDE somewhat broken.

Arduino IDE version

2.2.1

Operating system

macOS

Operating system version

14.2.1

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details
@JosefWN JosefWN added the type: enhancement Proposed improvement label Jan 21, 2024
@per1234 per1234 self-assigned this Jan 21, 2024
@per1234 per1234 added architecture: arm Specific to ARM host architecture os: macos Specific to macOS operating system status: in progress Work is in progress on this labels Jan 21, 2024
@per1234
Copy link
Contributor

per1234 commented Jan 22, 2024

Thanks for the report @JosefWN. When it comes to the "built-in" tools, fortunately the infrastructure is already in place so that as soon as Apple Silicon builds are added to the package index, Arduino IDE will automatically start using those on Apple Silicon machines. No changes will be needed in this codebase and even previous versions of the IDE will have that behavior.

So we don't need to actively track the work for the tool dependencies. This issue will still serve to aggregate a list of the individual issues even now that it is closed.

There are some additional tools that are not distributed via the package index system. Instead, those tools are bundled with the Arduino IDE distribution by the build system. I did a review of those bundled tools and found that a native Apple Silicon variant was bundled with the IDE in all but one case, which was the Arduino Firmware Uploader. Fortunately, the build system of that tool was recently updated to produce Apple Silicon builds so the only remaining task was to update the infrastructure here in the Arduino IDE repository to bundle that build when appropriate. That change has now been made, completing all known tasks required in this repository: #2338

@per1234 per1234 added conclusion: off topic Off topic for this repository conclusion: resolved Issue was resolved and removed status: in progress Work is in progress on this labels Jan 22, 2024
@FlorianHeigl

This comment was marked as off-topic.

@arduino arduino locked as resolved and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
architecture: arm Specific to ARM host architecture conclusion: off topic Off topic for this repository conclusion: resolved Issue was resolved os: macos Specific to macOS operating system type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants