Part Number: MSPM0G3519-Q1
Hello team,
we are using the MCAL_MSPM0_00.02.05.00.
I currently try to compile and link the Pwm module with the IAR compiler and I am facing the following linker error:
"C:/_Projekte/MUFU/MuFu_Left/tools/toolchains/iar/../../../variants/E3/src/GenData/Callouts/vLinkGen_Template.icf",754 Error[Lp005]:
placement includes a mix of sections with content (example "rw data s
ection .MSR_VAR_NO_INIT in Pwm_Priv.o symbols: [Pwm_TimerInstance_arr
ay]"
) [suitable for placement in ROM] and sections without content
(example "zi section .MSR_VAR_NO_INIT in Can.o") [suitable for
placement in RAM]
From my understanding the problem is in the file Pwm_Priv.c with the variable Pwm_TimerInstance_array.
It is initialized here, but actually mapped to a NO_INIT section.
Please let me know if this implementation is intended and correct. If yes, do you have any advice for compiler or linker settings to solve this issue?
Best
Khai

