Compiler 'arm-none-eabi-gcc' not found on Pico W build #11461
-
I’m building MicroPython for Pico W using WSL2: After following the instructions on https://github.com/micropython/micropython/tree/master/ports/rp2 I get Compiler 'arm-none-eabi-gcc' not found while building. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You need a compiler, which can produce binaries for the target. Maybe it works with the package
EDIT: |
Beta Was this translation helpful? Give feedback.
-
Take a look at #10920 I believe it must work for 20.04 as well. HTH |
Beta Was this translation helpful? Give feedback.
I found a fuller explanation on how to do the build at:
Raspberry Pi Pico Python SDK
https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-python-sdk.pdf
It mentions:
$ sudo apt update
$ sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
That worked for me.