Hello,
I am using RTD drivers v5.0.0.
I noticed that in several points of the source code, there are function declared as 'static inline'.
However, I am using the IAR compiler with forced compiler options that by default disable the native inlining, so a declaration like this:
static inline foo (void)
will not be treated as inline by the compiler.
To overcome this, in my AUTOSAR BSW code I have set some compiler abstractions, so that every module of the AUTOSAR BSW stack uses inlining only by using the define LOCAL_INLINE.
This define LOCAL_INLINE is then resolved as:
define LOCAL_INLINE static inline __attribute__((always_inline))
and in this way the modules of the AUTOSAR BSW stack can successfully use the inlining as foreseen by the compiler.
Anyway, I saw that the S32k3 RTD drivers that I am using do not seem to be using the Compiler abstraction keywords (LOCAL_INLINE, FUNC, etc) and therefore I am not be able to use the inlining correctly.
Is this an issue in those drivers or am I missing something?
Thanks
Kind regards,
Aldo