Hi,
On Ubuntu 24.04 LTS, following the instructions from the "Getting started with Raspberry Pi Pico-series" I installed VS Code (from the snap store), dependencies, and the Raspberry Pi Pico Extension. Then I loaded and created the blink example.
When compiling a problem was reported: it couldn't find pico.h. I could fix this by editing the path in line 10 of c_cpp_properties.json.
Also before VS code was able to download the file I had to add an udev rules file.
The blink.uf2 was then built without any errors reported, but it doesn't work. After downloading from VS Code or dropping the file in the drive, the pico doesn't blink, and after a moment, reappears as USB drive.
In contrast, dropping the blink.uf2 as downloaded from https://github.com/raspberrypi/document ... inary.adoc gives the expected result (blinking and the pico disappears as USB drive)
This downloaded blink.uf2 has a size of 98.3 kB and my compiled one is only 28.2 kB
VS Code does not report any errors, so how do I find out what's wrong?
On Ubuntu 24.04 LTS, following the instructions from the "Getting started with Raspberry Pi Pico-series" I installed VS Code (from the snap store), dependencies, and the Raspberry Pi Pico Extension. Then I loaded and created the blink example.
When compiling a problem was reported: it couldn't find pico.h. I could fix this by editing the path in line 10 of c_cpp_properties.json.
Also before VS code was able to download the file I had to add an udev rules file.
The blink.uf2 was then built without any errors reported, but it doesn't work. After downloading from VS Code or dropping the file in the drive, the pico doesn't blink, and after a moment, reappears as USB drive.
In contrast, dropping the blink.uf2 as downloaded from https://github.com/raspberrypi/document ... inary.adoc gives the expected result (blinking and the pico disappears as USB drive)
This downloaded blink.uf2 has a size of 98.3 kB and my compiled one is only 28.2 kB
VS Code does not report any errors, so how do I find out what's wrong?
Statistics: Posted by simonbr — Fri Aug 16, 2024 6:21 pm