Part Number: HALCOGEN
Hello,
I'm using HALCoGen (version 04.07.01) to generate code for a Hercules RM57L MCU. I sometimes would need to configure some of the RAM as non-cached/shared, e.g., to allow the DMA controller to read and write it. Through HALCoGen's MPU tab, I can configure the whole RAM as cacheable and non-shared, and then define a non-cached/shared section in RAM. What I would do next is define a section in the linker script for the shared RAM, and place the variables I need in this section. The problem is that the HALCoGen-generated linker script has no room for user code, thus any modification to it would be overwritten when re-generating code through HALCoGen.
What is the recommended way to achieve what I just explained? Shouldn't the linker script leave some room for the user to configure memory sections?
Thanks in advance,
Carlo