LIN error in S32DS

cancel
Showing results for 
Search instead for 
Did you mean: 

LIN error in S32DS

268 Views
Contributor IV

Hi,everybody:

    Today,I use S32DS build a lin project.Though the project build successful,the IDE also display 20 errors.

174086_174086.pngQQ截图20170110202045.png

174087_174087.pngQQ截图20170110202100.png

174088_174088.pngQQ截图20170110202120.png

174089_174089.pngQQ截图20170110202136.png

Labels (1)
0 Kudos
5 Replies

14 Views
NXP Employee
NXP Employee

Hi,

this seems to be related to an issue that is already logged in our defect tracking database. 

The problem is that the eclipse parser sees some errors even if build is successful - elf file is generated.

It could appear suddenly e.g. when browsing  the source code. This is false positive and you can ignore it

Sometimes Rebuild Index may help:

pastedImage_1.png

I'd recommend you not to rely on Problems View in such cases and check the build console to make sure the build process is done without any errors.

This issue will be addressed in a future release.

Stan

14 Views
NXP Employee
NXP Employee

Hello,

the problems reported there are provided by Eclipse code analyser, they either could be false positive or they might appear in case if for example include path specified in a compiler specific way, you can check if you have all required paths specified on the project Properties -> C/C++ General -> Paths and Symbols

0 Kudos

14 Views
Contributor IV

When I create a KEAZ128 project,I select the KEAZ128 SDK.In the SDK, The LIN_Driver is inserted in the SDKs.

pastedImage_2.png

In the C/C++ General -->>Paths and Symbols ,I do not modify anyone.

pastedImage_1.png

0 Kudos

14 Views
NXP Employee
NXP Employee

Hi,

could you please clarify, which S32DS you use and what microcontroller you have?

Where did you download the LIN stack? Is it a software from NXP or any third party?

Regards,

Martin

0 Kudos

14 Views
Contributor IV

I use the version is 1.3.

QQ截图20170111083139.png

I use the KEAZ128 microcontroller.In the IDE,I creat a project by click the File -->> New -->> New S32DS Project.Then appear a window.In the window,I write lin_test in Project name and select SKEAZ128(48 Mhz),then I click Next.

QQ截图20170111083958.png

In the next window,I select the SDKs is KEAZ128.

QQ截图20170111084135.png

Then the project is created finished.

In the main.c,I write code like the next picture.

pastedImage_5.png

Then I build the project.After I build the project,the lin_test.elf is appear meanwhile the error also have 20.

pastedImage_6.png

pastedImage_7.png

the lin_stack is insert in the KEAZ128 SDKs.

pastedImage_8.png

0 Kudos