From 2467ff096182c1ea4c67b3dedd9d791e3f8115b6 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 6 May 2022 12:23:09 +0200 Subject: [PATCH] cpu/efm32: add CMSIS DSP include for arm_math.h --- cpu/efm32/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu/efm32/Makefile.include b/cpu/efm32/Makefile.include index 54c4753fcb..c1ebc27df0 100644 --- a/cpu/efm32/Makefile.include +++ b/cpu/efm32/Makefile.include @@ -31,6 +31,9 @@ CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM)) # include EFM32 specific driver headers INCLUDES += -I$(RIOTCPU)/efm32/include/drivers +# arm_math.h is required by vendor headers and is located in CMSIS DSP includes +INCLUDES += -I$(PKGDIRBASE)/cmsis/CMSIS/DSP/Include + # include cortexm_common LINKER_SCRIPT = cortexm.ld