It's been a looooong time since I used C on anything so my understanding could trivially be wrong.
Header files (.h) exist so that you don't need to pull the source of the library into your program. The compiler and/or linker do that for you.
On a full fat OS you can do that in a way that uses system wide shared libraries at run time but given there is no OS on the Pico I'd expect all libraries to be statically linked into the output binary.
Plus, the pico doesn't really have a filesystem to store them in.
So, unless cmake can do it, you're probably out of luck.
Thx for answer Thagrol!
In the code ejecution, i´ve wrote some info in the memory, to made non volatile data store.
For example, in the picodvi code:
https://github.com/Wren6991/PicoDVI
Wren made some examples, that need to flash first one uf2 file, and later put the ejecution code (another diferent file in same uf2 format).
Vaguely comes to mind, to declare in cmake file:
one11k_u8.h "put somewhere memory location"
Yes, i´ve use C language.
Thx in advice!
Statistics: Posted by Xiran64 — Wed May 21, 2025 10:15 pm