Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5055

MicroPython • Re: Building MicroPython on a Mac

$
0
0
Thanks hippy. Some progress, but not quite there yet!
Cmake worked but complained that picotool was not installed. It downloaded and installed it.
I then ran make. It failed with numerous errors, starting with:

pi@raspi7:~/mypico/blink/build $ make
[ 1%] Building ASM object pico-sdk/src/rp2040/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.o
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S: Assembler messages:
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:13: Error: unknown pseudo-op: `.syntax'
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:89: Info: macro invoked from here
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:14: Error: unknown cpu `cortex-m0plus'
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:89: Info: macro invoked from here
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:15: Error: unknown pseudo-op: `.thumb'
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:89: Info: macro invoked from here
/home/pi/pico/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S:22: Error: unknown pseudo-op: `.thumb_func'

<< clip -- lots of errors >>

make[2]: *** [pico-sdk/src/rp2040/boot_stage2/CMakeFiles/bs2_default.dir/build.make:75: pico-sdk/src/rp2040/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1863: pico-sdk/src/rp2040/boot_stage2/CMakeFiles/bs2_default.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I think your Pi must have more stuff installed and set up than mine does. Perhaps I am missing some header files or some shell variables? Do you have any thoughts?

Cheers,
Paul

Statistics: Posted by paulg1 — Fri Nov 29, 2024 2:21 pm



Viewing all articles
Browse latest Browse all 5055

Trending Articles