-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compilation on MacOs - M2 #355
Comments
Because tools like |
ping @aallan in case the instructions in the Getting Started PDF need updating for M2 Macs. |
Installing on a M2 Mac today this worked for me. Thanks for up-to-date hint. However, I had to not only do a i.e.
|
Thanks a lot, @timlukins ! Worked great on my M1 too. |
Thanks alot! Worked also on my M2 machine!!! Searched for hours. Got it now |
Thank you - this solved an error I was getting on my Apple M2 Max. "arm-none-eabi-gcc: fatal error: cannot read spec file 'nosys.specs': No such file or directory" Got this after following the "Getting started Guide" |
Okay, transferring this to the pico-feedback repo as a documentation problem. |
Thanks a lot!!!!!!!!!!!! finally after 12 hours of debugging....... |
@nathan-contino We should possibly look at this as your intro to the PDF toolchain this week. |
FWIW I had the same issue which was resolved by |
Same for me. I had to remove the old compiler and |
Thank you very much! Works after
on my Mac M2 Max Sonoma! |
See also raspberrypi/pico-sdk#1543 for OpenOCD related things. |
Doesn't look to be anything specific to M2, or Sonoma. Looks to be a Homebrew imposed thing. General Mac instructions need updating in the Getting Started guide. |
Also see #335 |
This one should be closed, right @nathan-contino this got fixed in the recent databooks PR? |
Yes! |
Still not in the latest available pdf (https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf) is still incorrect. Is there a release date for a new version? |
No, we haven't made a documentation release yet. There will be one in the next month or so. |
감사합니다. |
Documentation release should happen beginning of next week. |
Thank you for the documentation update @aallan. However, I want to note that tapping brew install cmake
brew install --cask gcc-arm-embedded |
Did the instructions get updated? I ran into the same issue trying to follow the getting started guide. |
Yes, the current version of https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf now says "build-date: 2024-05-02". If you're still having problems it's probably best to open a new issue. |
I've performed steps from https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf to install compiler:
After that I tried to compile project and I got following error:
arm-none-eabi-gcc: fatal error: cannot read spec file 'nosys.specs': No such file or directory
Then I uninstalled
arm-none-eabi-gcc
using brew and installedbrew install --cask gcc-arm-embedded
. Now compilation works, but I see that compiler identification isAppleClang
rather thanarm-none-eabi-
.Configuring cmake I see correct compilers:
But during compilation I see
AppleClang
:Why there is info about
AppleClang
compiler?The text was updated successfully, but these errors were encountered: