Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pico-sdk doesn't have picotool anymore #13566

Open
1 task done
acassis opened this issue Sep 21, 2024 · 1 comment
Open
1 task done

pico-sdk doesn't have picotool anymore #13566

acassis opened this issue Sep 21, 2024 · 1 comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Area: Build system

Comments

@acassis
Copy link
Contributor

acassis commented Sep 21, 2024

Description / Steps to reproduce the issue

$ export PICO_SDK_PATH=~/pico-sdk

$ ./tools/configure.sh raspberrypi-pico:usbnsh

$ make -j
picotool uf2 convert --quiet -t elf nuttx nuttx.uf2;
/usr/bin/bash: line 1: picotool: command not found

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 24.10

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Build System]

Verification

  • I have verified before submitting the report.
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Area: Build system labels Sep 21, 2024
@acassis
Copy link
Contributor Author

acassis commented Sep 21, 2024

I found the solution here: https://forums.raspberrypi.com/viewtopic.php?t=358951

cd ~/pico
sudo apt install libusb-1.0-0-dev
git clone https://github.com/raspberrypi/picotool.git
cd picotool
mkdir build
cd build
cmake ..
make
sudo ln -s ~/pico/picotool/build/picotool /usr/local/bin/picotool

Note: using the pico-sdk branch 1.1.2 is failing on Ubuntu 24.10:

make[1]: *** No rule to make target '/home/alan/pico-sdk/src/rp2040/boot_stage2/boot2_w25q080.S', needed by 'rp2040_boot_stage2.elf'.  Stop.
make: *** [tools/Unix.mk:548: nuttx] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Area: Build system
Projects
None yet
Development

No branches or pull requests

1 participant