Hi,
I tried to change the .mex file as you mentioned but I still got the same issue:
../src/main.c:30:10: fatal error: lin_stack_cfg.h: No such file or directory
30 | #include "lin_stack_cfg.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
What I did:
- Deleted old LIN example
- Opened LIN example again (with S32DS)
- Closed S32DS
- Changed mex file as you mentioned
- Opened S32DS
- Clicked on LIN example / Opened Configuration Tools
- Switched to my Package S32K344_172HDQFP
- Updated Code
--> Then I tried to build the whole project, where I got the error from above.