Skip to content

Commit

Permalink
pkg/wolfssl: add SAMD51 to name collision hack
Browse files Browse the repository at this point in the history
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
  • Loading branch information
benpicco committed Feb 9, 2021
1 parent b130142 commit 735d22e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/wolfssl/include/user_settings.h
Expand Up @@ -315,8 +315,11 @@ int strncasecmp(const char *s1, const char * s2, unsigned int sz);

/* The following defines should prevent declaration of name-colliding "Aes"
* structure on SAML21, SAME54 platform code
*
* TODO: avoid pulling in all vendor files through cpu_conf.h
*/
#define _SAML21_AES_COMPONENT_
#define _SAMD51_AES_COMPONENT_
#define _SAME54_AES_COMPONENT_
#define _SAMR34_AES_COMPONENT_

Expand Down

0 comments on commit 735d22e

Please sign in to comment.