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

SDK • picotool keeps wanting to be build

$
0
0
I have a few unused waveshare_rp2040_zero boards and trying to get 2 ADC numbers out if it at a 10 seconds or 1 second rate yesterday evening. Currently Node-RED to do further processing, done now via WiFI MQTT on ESP-C3 with Tasmota, but WiFi won't work anymore when I put it in metal case. I have also Arduinos on RPi1/3 doing that for years, but I need a few extra systems.
I followed this:
https://www.raspberrypi.com/documentati ... t-binaries
and I see that the ADC principle works (adc_console.c as example I did build). But it wasn't easy as what ever I tried, the whole build process always wants to build picotool.
I already manually put the 2.1.1 binary in /usr/local/bin, but It seems the SDK still wants to build. Maybe it is because I am on Debian Trixie (frozen now) or because the SDK is 2.2.0 (I think because fetched is yesterday evening). So as a hack I removed the file $HOME/pico-sdk/tools/Findpicotool.cmake and then I got a .elf after also a lot is trial and error with USB (I use hello_usb.c example as well). So then just use picotool to convert .elf into .uf2 and that worked. I still use 'drag-and-drop', that should get unattended non-GUI.

But there should be a proper way to avoid rebuilding picotool, any hints?

Statistics: Posted by redvli — Fri Aug 01, 2025 6:15 am — Replies 10 — Views 172



Viewing all articles
Browse latest Browse all 6814

Trending Articles