#pragma address

Hello Everyone,

I want to place a string constant in code flash at a specific address. So, I read that this can be done by using the #pragma address

Here is the code:

#pragma address fixed_addr=0x27000

const uint8_t fixed_addr[] = {"Renesas"};

But when I build my project I get the message that the #pragma address is being ignored. Here is the warning in my build output.

../src/hal_entry.c: At top level:

../src/hal_entry.c:256: warning: ignoring '#pragma address fixed_addr' [-Wunknown-pragmas]

256 | #pragma address fixed_addr=0x27000

I see the unknown-pragmas. How do I enable the pragma?

 My project is for the RA4M3.

I am using FSP version 5.2.0

e2 studio is version 2024-01.1

Thanks,

Ed