Facing error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,822件の閲覧回数
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 解決策
1,758件の閲覧回数
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 返答(返信)
1,798件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Shrini

Please do not modify the files in your project directory

0 件の賞賛
返信
1,795件の閲覧回数
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 件の賞賛
返信
1,786件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
1,783件の閲覧回数
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 件の賞賛
返信
1,779件の閲覧回数
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 件の賞賛
返信
1,766件の閲覧回数
Shrini
Contributor I

Hi@Senlent, 

Check the attached zip file and please correct the mistake.  

0 件の賞賛
返信
1,759件の閲覧回数
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 件の賞賛
返信
1,706件の閲覧回数
Shrini
Contributor I
Thank you @Senlent for your suggestion. I will reinstall the SDK.
0 件の賞賛
返信
1,815件の閲覧回数
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 件の賞賛
返信
1,808件の閲覧回数
Shrini
Contributor I

Hello@Senlent Please find the attached file. 

0 件の賞賛
返信