Linker warning -memory region "." not declared

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linker warning -memory region "." not declared

2,741 Views
adrianonea
Contributor III

When I compile my project I get the following warning

Description Resource Path Location Type
c:/nxp/s32ds_power_v1.2/cross_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/real-ld.exe:C:/Development/Projects/Eagle/Eagle/Eagle_Z4/Project_Settings/Linker_Files/s32r274_flash.ld memory region `.' not declared Eagle_Z4 line 201, external location: c:\nxp\s32ds_power_v1.2\cross_tools\powerpc-eabivle-4_9\powerpc-eabivle\bin\real-ld.exe:C:\Development\Projects\Eagle\Eagle\Eagle_Z4\Project_Settings\Linker_Files\s32r274_flash.ld C/C++ Problem

I am compiling a three core project for S32R274

Attached is the linker file for core Z4.

How can I fix the warning?

Original Attachment has been moved to: s32r274_flash.ld.zip

0 Kudos
1 Reply

2,058 Views
stanish
NXP Employee
NXP Employee

Hello Adrian,

You should specify the memory section name at line 195. see the snippet from GCC manual below:

pastedImage_2.png

Please try to use "m_shared" region instead of ".":

    .all_bss             : {} > m_shared         /* Uninitialised RAM */     

0 Kudos