From 735d22ea1b2553caef1412a99ac2effb767fae9d Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 28 Jan 2021 22:32:47 +0100 Subject: [PATCH] pkg/wolfssl: add SAMD51 to name collision hack Fix this properly in the future by not pulling in all vendor files through cpu_conf.h which gets included by several core headers. --- pkg/wolfssl/include/user_settings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/wolfssl/include/user_settings.h b/pkg/wolfssl/include/user_settings.h index 88ffad1ad4..1ef6a10db7 100644 --- a/pkg/wolfssl/include/user_settings.h +++ b/pkg/wolfssl/include/user_settings.h @@ -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_