[Pico SDK] M2 mac에서 cannot read spec file 'nosys.specs’ 오류 발생 해결
• 읽는데 1분

오랜만에 Pico-SDK를 사용할 일이 생겨 예제를 다시 빌드해보았는데요, 빌드 과정에서 이런 오류가 발생했습니다.
bash
arm-none-eabi-gcc: fatal error: cannot read spec file 'nosys.specs': No such file or directory다행히 쉽게 해결 방법을 찾을 수 있었습니다.
Compilation on MacOs - M2 · Issue #355 · raspberrypi/pico-feedback
I've performed steps from https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf to install compiler: $ …
github.com
bash
% brew uninstall arm-none-eabi-gcc
% brew autoremove
% brew install --cask gcc-arm-embedded