Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

General • Re: How can i put a file .h in another section of memory? rp2040

$
0
0
Ok ok, I want to do simple as possible, like to declare in cmake to put .h files in another location
Maybe nobody said it clearly yet but this not possible. h files are directly included into your code where you put the #include statement, they basically don't exist for the compiler or linker. You need to modify what is inside them (or before including them #define some macro to redefine what is used inside of them).

Statistics: Posted by fanoush — Tue May 27, 2025 7:29 am



Viewing all articles
Browse latest Browse all 7503

Trending Articles