1

I'm uploading a simple C program into a Raspberry Pi Pico and I would like to check the memory this program is occupying in the Pico.

The program only has an empty main function. What I want to do is similar to what happens in the Arduino IDE when you upload something to an Arduino Uno. When you do that, the terminal shows the memory occupied by the program and the memory left in the board.

To upload the program to the Pico I'm using Git Bash compiling with a cmake file.

1 Answer 1

0

I tried to get this information because I think it's quite useful but picotool does not support it as a feature. The only thing I found is whether to check the .uf2-file size in the file explorer of your host-PC or use the "save" command of picotool (Page 72 of this document). There you get the actually downloaded bytes of the program stored on pico.

If you have any other recommendations, please let me know!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.