os sizes

Dec 21, 2022 Last reply: 3 years ago 2 Replies

Does anybody have an estimate of how many bytes a small Linux would need to run on a Pi Pico? How about freeRTOS?



Pico only has 2 Mbytes of flash, and I'll need some of that to store an FPGA config file.



There's all sorts of stuff online but nobody seems to note code image sizes.


The Pico can't run mainline Linux, since it has no MMU. MMU-free Linux exists (formerly ucLinux) but it's mostly a toy - not such anyone has ported to the Pico.

FreeRTOS is effectively a collection of libraries that you link with your program. It depends on what options you configure (do you need networking? etc), but I'd guess kilobytes not megabytes would be feasible.

Theo

Good news. I didn't want to run Linux anyhow.

I read somewhere that freeRTOS was a total of something like 6K lines of C source. An RTOS doesn't need to be very big.

I do need Ethernet, probably using the WizNet chip.

Thanks

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required