"warning: L6314W: No section matches pattern EventRecorder.o(ZI)." -when adding event recorder to Keil project with RTX5 implemented.
Hi STcom.
I have a project with the ST32L476-MCU, developed with RTX5 and the CMSIS RTOS2 on top.
I want to implement the Event Recorder, and have followed this link, but as I try to build I get a warning, as stated in this question's title.
I've confirmed that:
- my scatter-file looks good
- my Memory assignment looks good in "Options for Component Class 'Compiler'"
- the "RAM for Algorithm" is assigned correct under "Options for Target 'Release'"
I've tried:
- different memory allocations for IRAM1 and IRAM2
- different sizes for IRAM1 and IRAM2
- different relations between IRAM1 and IRAM2 (because the MemMap from the RM [p. 76] said that SRAM2 has a starting address = 0x10000000)
- to unlink the Target Dialog box with the scatter file, by unchecking the "Use Memory Layout from Target Dialog" in "Options for Target 'Release'"
Nothing seems to clear the warning.
The only way for me to get rid of the warning, is to set the Memory Assignment for Zero Initialized Data for the Event Recorder under "Options for Component Class 'Compiler'" to <default>, but this is not a solution to the problem, as the memory wont be assigned to the new allocated IRAM2 of course.
My feeling is that the issue is related to the MCU, but it could be with Keil as well.
Thanks in advance.




