Search found 5 matches
- Thu Jan 06, 2022 3:39 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: How to build MicroPython for Pico (rp2)?
- Replies: 10
- Views: 73827
Re: How to build MicroPython for Pico (rp2)?
I was finally able to build MP from source. There appears to be a problem in the build mechanism when working on a deep directory path (or, possibly, a path in network space on NFS). If I base the build in, e.g. /net/src/platforms/raspberry_pi/rp2040/ it fails. If try in /tmp, it works properly. I'v...
- Thu Jan 06, 2022 3:10 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: How to build MicroPython for Pico (rp2)?
- Replies: 10
- Views: 73827
Re: How to build MicroPython for Pico (rp2)?
<sigh...> Why me, Lord, why me? Seriously, though, build is broken for what is still a supported and common distribution. I'm getting along with a pre-compiled MP package, but it would be great if I could build from source. Are any of the maintainers here?
- Thu Dec 30, 2021 8:12 pm
- Forum: Development of MicroPython
- Topic: make error buildung Micropython for RP2
- Replies: 8
- Views: 64470
Re: make error buildung Micropython for RP2
It complains about missing target and missing makefile - from memory. I just deleted the entire thing in favor of attempting to install a prebuilt package.
- Thu Dec 30, 2021 8:05 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: How to build MicroPython for Pico (rp2)?
- Replies: 10
- Views: 73827
Re: How to build MicroPython for Pico (rp2)?
The instructions for building micropython from source is in https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf As of today, at least, neither these instructions nor the ones in the SDK document work on Ubuntu 18.04. All attempts end with: /net/src/platforms/raspberry_pi/rp2040...
- Thu Dec 30, 2021 7:55 pm
- Forum: Development of MicroPython
- Topic: make error buildung Micropython for RP2
- Replies: 8
- Views: 64470
Re: make error buildung Micropython for RP2
I'm seeing the same failure on Ubuntu 18.04: /net/src/platforms/raspberry_pi/rp2040/micropython/ports/rp2$ make [ -d build-PICO ] || cmake -S . -B build-PICO -DPICO_BUILD_DOCS=0 -DMICROPY_BOARD=PICO CMake Error: The source directory "/net/src/platforms/raspberry_pi/rp2040/micropython/ports/rp2/build...