2097982_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2097982_en-US

2097982_en-US

AUTOSAR MCAL for MPC5744P

Hello everyone,

I'm working with the MPC5744P and using the generated AUTOSAR MCAL packages.

I'm encountering a build error:
No such file or directory — referring to Os_memmap.h inside MemMap.h:

#ifndef AUTOSAR_OS_NOT_USED
      #include "Os_memmap.h"
#endif

However, Os_memmap.h is not present in the generated files.

How can I get this missing file?

Also, how can I use EB tresos to configure and generate a new MCAL package (or regenerate the missing parts)?

Any help would be appreciated!

Thank you.

Re: AUTOSAR MCAL for MPC5744P

Hello @petervlna , is there any free compiler option to build the AUTOSAR MCAL applications for MPC5744P?

Re: AUTOSAR MCAL for MPC5744P

Hello,

You can use the generated code and compile it in GHS or DIAB.

Always refer to supported compilators in release notes of the RTD and OS.

petervlna_0-1747642736488.png

Best regards,

Peter


Re: AUTOSAR MCAL for MPC5744PHi Peter,
Thank you for the clarification!

Just a quick question: Is it possible to compile the generated code (from Tresos + MCAL) using GCC, or is it mandatory to use toolchains like S32DS or GHS?

Best regards,
El-Greatly
Re: AUTOSAR MCAL for MPC5744P

Hello,

How can I get this missing file?

It is not part of generated files of MCAL but from the Tresos OS configuration.

In my opinion probably there was something wrong in OS configuration.

Have a look also here:

https://community.nxp.com/t5/S32K/No-such-file-or-directory-include-quot-Os-memmap-h-quot/td-p/18184...


Also, how can I use EB tresos to configure and generate a new MCAL package (or regenerate the missing parts)?

Hmm, we offer S32 design studio for such. For trainings on Tresos please get in touch with Elektrobit.

Actually it should be very simple. Once you install MCAL you will simply create project, add desired pluggins and generate the c/h files from tresos. Then you will put the project together in some project manager like S32DS, GHS, etc... to be able to compile it.

Best regards,

Peter


Tags (1)
No ratings
Version history
Last update:
13 hours ago
Updated by: