Tool/software:
Hello,
We are using the ti-arm-clang-3.2.0 compiler/toolchain for a project aimed
at Cortex-R5F/Armv7-R. Due to requirements, we need to map rodata.str1.* sections to different memory regions with varying attributes, such as cached vs. non-cached.
I have tried to do the following but have yet to be successful.
#pragma clang section data = ".my_data"
#pragma clang section bss = ".my_bss"
#pragma clang section text = ".my_text"
#pragma clang section rodata = ".my_rodata"
static void foo(foo foo)
{
...
const char[] foo = "Helllo World!";
...
}
#pragma clang section data = ""
#pragma clang section bss = ""
#pragma clang section text = ""
#pragma clang section rodata = ""
The documentation doesn't say much
Best Regards,
Ali Mohamed