-
Notifications
You must be signed in to change notification settings - Fork 66
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
Apple M1 Support (arm64) #85
Comments
Doesn't build with python 3.7.12 on M1 with rosetta either |
Hi @DarkSector, I think I found a solution to this since I just received my new M1 macbook. You'll need to use the Intel x86 version of VSCode for PlatformIO to work correctly with Rosetta: https://code.visualstudio.com/sha/download?build=stable&os=darwin After that, I was able to use the command |
Great idea! Let me try that |
Okay that worked. For posterity, here are the steps to get it working with Apple M1 silicon
Should be able to build it then. |
Thank you for those additional details. We now have ARM M1 AWS EC2 instances to test against so we can document the steps properly for M1 and ensure it works for all users. Overall, I'm glad that the workaround for now is relatively straightforward. Hopefully we see native ARM M1 support for all dependencies instead of using Rosetta. |
Is there a possibility of a docker image with all the dependencies baked in? It would be great to just pass the serial port to the container and never have to worry about installation etc. |
Yes, this is something we have been wracking our brains trying to solve and have made multiple trials. However this can cause new complications on Windows due to Docker on Hyper-V. |
Microchip Cryptoauthlib package is not buildable using Apple M1. Is there a work around for this? This comes up when trying to register_thing.
cryptoauthlib also only supports python 3.7 nothing beyond that.
Opened a new freature request with cryptoauthlib project
The text was updated successfully, but these errors were encountered: