diff --git a/pkg/cryptoauthlib/Makefile b/pkg/cryptoauthlib/Makefile index dc05d046c2..aad2317be0 100644 --- a/pkg/cryptoauthlib/Makefile +++ b/pkg/cryptoauthlib/Makefile @@ -11,9 +11,11 @@ include $(RIOTBASE)/pkg/pkg.mk CMAKE_MINIMAL_VERSION = 3.6.0 +CFLAGS += $(INCLUDES) CFLAGS += -Wno-missing-field-initializers -Wno-unused-function CFLAGS += -Wno-type-limits -Wno-strict-aliasing -Wno-unused-variable -DATCA_HAL_I2C CFLAGS += -Wno-unused-parameter -Wno-sign-compare -Wno-overflow -Wno-pointer-to-int-cast +CFLAGS += -Wno-char-subscripts TOOLCHAIN_FILE=$(PKG_BUILDDIR)/xcompile-toolchain.cmake diff --git a/pkg/cryptoauthlib/Makefile.include b/pkg/cryptoauthlib/Makefile.include index d7bc7be062..3baf726f79 100644 --- a/pkg/cryptoauthlib/Makefile.include +++ b/pkg/cryptoauthlib/Makefile.include @@ -14,7 +14,3 @@ ifneq (,$(filter cryptoauthlib_test,$(USEMODULE))) INCLUDES += -I$(PKG_TESTINCLDIR)/tng INCLUDES += -I$(PKG_TESTINCLDIR)/atcacert endif - -ifneq (,$(filter cortex-m%,$(CPU_ARCH))) - TOOLCHAINS_BLACKLIST += llvm -endif