Hello, I am currently working with S32 SDK ISELED, Version 4.8.0 EAR.
I am trying to integrate this library with an application project using the greenhills compiler but I'm having some issues with it.
First of all, when building with the compiler/assembler/linker options specified in the S32 SDK ISELED
Release Notes, the ISELED library does not initialize properly, the flexio and DMA drivers are not fully configured so the ISELED library doesn't work.
I debugged that and found out that the library reads the 2 enumerations from digLED_ConfigType struct as 4 bytes each instead of 1 byte each, as it should, given the --short-enum compiler option. Removing this compiler option worked, the library initializes properly and I am able to command the ISELED chips.
But still, from time to time, I am getting some Hard Faults from inside the library, for unaligned access. Can someone confirm the compiler options that work with the GHS ISELED library for S32K144?
Note: The same issues applies for S32 SDK ISELED Version 4.0.0 RTM.
Thank you!