Topic: Conflicting types for Aes error
Hello:
I have a Wolfssl + ATECC508 example working on ATSAMD21 and I want to port it to ATSAM4E which already has AES hardware.
When compiling I get "Conflicting types for Aes" so I guess the error is because an Aes structure is defined both in Atmel files and WolfSSL as well.
In fact, the port compiled before but since I 'm using FreeRTOS, I commented out the line #define SINGLE_THREADED in user_settings.h for wolfssl. I also had to declare FREERTOS_TCP to match configuration in setting.h. From this configuration, I'm getting the error.
My question is how to proceed in this cases? Renaming one of them could impact other source files so I'm not sure what to do. Also, how to setup wolfssl to use AES hardware in this case?
Thanks
Gus