Hi, developers, I encountered a compilation error with GCC when configuring DTCM as SRAM using S32K312. I haven't made any progress in finding the cause of the error. I referred to the community topic discussion, "How to modify the LD file to use ITCM and DTCM content," but following the manual and the discussion's LD file configuration led to a compilation error. Can anyone help me resolve this issue?
I tried various versions of GCC, such as GCC9.2.0, GCC 10.2.0, GCC 10.3.1, GCC12.2.0。But all resulted in the same error.
IDE: vscode
cmake version: 3.28.1
Reference link for the topic discussion
https://community.nxp.com/t5/S32K/How-to-use-DTCM-1-memory-in-S32K314-controllers/m-p/1663024
https://community.nxp.com/t5/S32K/DTCM-ITCM-example/m-p/1606827#M21008
https://community.nxp.com/t5/S32K/Regarding-the-RAM-location-for-the-s32k312/m-p/1876369
https://community.nxp.com/t5/i-MX-RT/uTasker-Compile-Error-in-MCUXpresso/m-p/1535822
@danielmartynek @lukaszadrapa @davidtosenovjan Can you help me with this issue? Thank you.
Regards,
Ags
已解决! 转到解答。
hi, @lukaszadrapa
thaks your response. i compare the link file you provided. there wasn't much difference.
hi, @lukaszadrapa
thaks your response. i compare the link file you provided. there wasn't much difference.