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

MicroPython • Re: Building MicroPython on a Mac

$
0
0
My version of the assembler is newer than yours

pi@raspi7:/usr/bin $ arm-none-eabi-as --version
GNU assembler (2.40-2+18+b1) 2.40
Copyright (C) 2023 Free Software Foundation, Inc.

I deleted everything in the build folder and ran cmake and make again as you suggested. It complained about picotool, but succeeded. I dragged and dropped the uf2 file to my Pico and the LED started blinking. Yay!

Cmake gave the following warning:

CMake Warning at /home/pi/pico/pico-sdk/tools/Findpicotool.cmake:28 (message):
No installed picotool with version 2.1.0 found - building from source

It is recommended to build and install picotool separately, or to set
PICOTOOL_FETCH_FROM_GIT_PATH to a common directory for all your SDK
projects

Should I be concerned about this? I would prefer not to have to build and install picotool on every compilation. Any suggestions?

BTW, Someone else on this forum seems to have encountered this problem fairly recently, albeit on a Windows host (https://forums/raspberrypi.com/viewtopic.php?t=375104).

I also got the following no USB warning, which is mentioned in the above post.

-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
PICOTOOL_NO_LIBUSB is set - no USB support will be built
-- Configuring done

In the context of building MicroPython, is the lack of USB support in picotool an issue?

I will now move onto the final stage. Fingers crossed! I will report back. Once again, thanks for your help.

Paul

Statistics: Posted by paulg1 — Fri Nov 29, 2024 9:13 pm



Viewing all articles
Browse latest Browse all 4878

Trending Articles