show Ld error: undefined reference to and warning: cannot find entry symbol Reset_Handler;

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

show Ld error: undefined reference to and warning: cannot find entry symbol Reset_Handler;

925 Views
jingfang
Contributor IV

 

I want MCAL Integrate Into S32 Design Studio,but:

show Ld error: undefined reference to and warning: cannot find entry symbol Reset_Handler; 

How can I slove it?

jingfang_0-1704272572680.png

jingfang_1-1704272577808.png

 

 

0 Kudos
5 Replies

900 Views
NamLee
NXP Employee
NXP Employee

Hi jingfang,

I think your project is lacking resource files overall.

Please enter Properties and check all setup of compiler and linker resources.

Namm_0-1704363040262.png

One more point to check is the version of GCC, is that the version 10.2 is correct one which mentioned in Release Notes?

Thank you,

Nam.

 

0 Kudos

899 Views
NamLee
NXP Employee
NXP Employee

You can also refer to a project which can compiled done, for resource files/macros/links that it uses.

Thank you,

Nam.

0 Kudos

862 Views
jingfang
Contributor IV

LD I joined is 4.0.0.

jingfang_1-1704721146232.png

 

The project setting I copy "C:\NXP\SW32K3_S32M27x_RTD_R21-11_4.0.0\eclipse\plugins\Adc_TS_T40D34M40I0R0\examples\S32DS\S32K3XX\Adc_example_S32K344\Project_Settings\Startup_Code" ,But there is still an error

jingfang_0-1704721037842.png

 

0 Kudos

846 Views
NamLee
NXP Employee
NXP Employee

Hi jingfang,

In the Project_Settings of project in workspace, inside the Linker_Files should have the .ld file like below:

Namm_0-1704770362846.png

The tool should automatically coppy the .ld file from C:\NXP\S32DS.3.5_2\S32DS\software\PlatformSDK_S32K3\RTD\Platform_TS_T40D34M30I0R0\build_files\gcc and link it in DS. Not manually coppy it.

Please help me to check again.

Is it possible if you can share your project here? You can export it and share the zip file here.

Namm_1-1704770601502.png

 

And you're using S32K RTD 4.0.0 is that correct? I want to check it directly for help you.

Thank you,

Nam.

0 Kudos

844 Views
NamLee
NXP Employee
NXP Employee

The S32DS\software\PlatformSDK_S32K3\RTD is the RTD package that you install in DS through updatesite one. It should be async with DS project for compiling and running tests.

Please help me to share your project.

Thank you,

Nam.

0 Kudos