Facing error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Facing error

跳至解决方案
3,550 次查看
Shrini
Contributor I

I have created a project for timer peripheral. I took example code (ftm_periodic_interrupt_s32k144) for reference. I have configured everything, same as example code. After building my project I'm getting errors. i.e., multiple definition of () first defined here. This type of error I'm getting 53 times with different  API's.

Shrini_1-1672822744698.png

 

0 项奖励
回复
1 解答
3,486 次查看
Senlent
NXP TechSupport
NXP TechSupport

Your steps are fine, but here is not the same as ours,

Senlent_0-1672919017429.png

I don't know what caused this result. Maybe you can uninstall the SDK and reinstall it. There is already version 4.0.3.

 

在原帖中查看解决方案

0 项奖励
回复
10 回复数
3,525 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Shrini

Please do not modify the files in your project directory

0 项奖励
回复
3,522 次查看
Shrini
Contributor I
Hi@Senlent I don't understand. What did you do? Some other files are attached in the zip file. How did you add them? Please let me know.
0 项奖励
回复
3,513 次查看
Senlent
NXP TechSupport
NXP TechSupport

I didn't do anything, just created a new project and referred to the same configuration as you

0 项奖励
回复
3,510 次查看
Shrini
Contributor I

Actually, the file which I have sent you, that does not contain linker_files, startup, src.bak files... I think it's my fault while creating the project I think I skipped some steps. So could you please send me the entire steps or procedure for this particular project?

0 项奖励
回复
3,506 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Shrini

1.create new project

Senlent_0-1672898200780.png

2.configure peripherals

3.Generate configuration code
4.Copy main.c, compile, done!

0 项奖励
回复
3,493 次查看
Shrini
Contributor I

Hi@Senlent, 

Check the attached zip file and please correct the mistake.  

0 项奖励
回复
3,487 次查看
Senlent
NXP TechSupport
NXP TechSupport

Your steps are fine, but here is not the same as ours,

Senlent_0-1672919017429.png

I don't know what caused this result. Maybe you can uninstall the SDK and reinstall it. There is already version 4.0.3.

 

0 项奖励
回复
3,433 次查看
Shrini
Contributor I
Thank you @Senlent for your suggestion. I will reinstall the SDK.
0 项奖励
回复
3,542 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Shrini

I can't give the exact cause of the error according to the picture, you can export your project and I'll check it for you.

0 项奖励
回复
3,535 次查看
Shrini
Contributor I

Hello@Senlent Please find the attached file. 

0 项奖励
回复