Topic: What is AutoSar? Why is it enabled?
I am attempting to build WolfSSL 5.7.2 as a library, where we already have done so for 4.5.0, 4.7.0, 5.5.0, and 5.5.1.
Each time, it's a nightmare trying to fixed the compiler issues in the TI RTOS environment for Sitara, building in CCS with GNUC 7.1.3. It seems more and more that are conflicts, redundant functions, modules that are not understood by the environment being used... Despite setting the
This came with no instructions, no information about what all new files are dependent on which of the dozens of environments are supposed to be supported, which should be excluded... Nothing that remotely says "Here are the hundreds of new things that could break moving to this version, unless you do xxxx".
And the standard "read the manual" doesn't answer these, because it's years old...
This latest iteration of importing the next version, 5 new folders have appeared. One of them: "AutoSar" has files that are breaking the build all over the place.
I haven't gotten any further that that... but already spent the day correcting ASM issues all over the place because there are dozens that cannot be built in this environment and with this compiler. There should be a better way that tripping over all these files and trying to figure out if they below, or are part of a different build environment. At this progress, unravelling all the complier diagnostics, I expect hundreds more issues after this is hacked around...
I removed "autosar/test.c". It had dozens of errors.
But /wolfcrypt/src/port/autosar/cryif.c is still crashing the build. Because it has no idea what "Std_VersionInfoType", Crypto_JobType", or even ""uint32"" is.
uint32 is not standard. uint32_t is.
Some of these are dragged in by wolfssl/wolfcrypt/port/autosar/StandardTypes.h
But that is excluded because of a #ifdef WOLFSSL_AUTOSAR which is in SOME of the files, but not others. So SOME files are using data types, that are PREVENTED from being defined because they are removed by #defines...
Does anyone test these builds??
<Code shown is not to scale>