Today,I use S32DS build a lin project.Though the project build successful,the IDE also display 20 errors.
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:
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.
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
When I create a KEAZ128 project,I select the KEAZ128 SDK.In the SDK, The LIN_Driver is inserted in the SDKs.
In the C/C++ General -->>Paths and Symbols ,I do not modify anyone.
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?
I use the version is 1.3.
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.
In the next window,I select the SDKs is KEAZ128.
Then the project is created finished.
In the main.c,I write code like the next picture.
Then I build the project.After I build the project,the lin_test.elf is appear meanwhile the error also have 20.
the lin_stack is insert in the KEAZ128 SDKs.