We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am trying to define a named section in code, and assign it to an execution region in may scatter file and i get "...warning: L6314W: No section matches pattern main.o(section_name)."
main.c:
... int g_dbg __attribute__((section("section_name"), zero_init)); ...
scatter file:
LR_IROM1 0x00000000 0x00040000 { ; load region size_region ER_IROM1 0x00000000 0x00040000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } } LR_IRAM1 0x00080000 0x00040000 { ; load region size_region RW_IRAM1 0x00080000 0x00040000 { ; RW data main.o (section_name) .ANY (+RW +ZI) } }
I will appreciate any help/information, Thanks