This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#pragma arm section as compiler command line arg

I can use the following #pragma in my code to put variables into my own data section:
#pragma arm section rwdata = "__my_data_block__"

Is it possible to do this as a compiler option so that I can have a whole group of files compiled thusly?

The reason I want to do this is so that I can compile a whole group of 'off the shelf' library files without having to edit them to add the #pragma.

Thanks for any help.

0