From e06993e9133a475a6988702cf35ec6fb3d963586 Mon Sep 17 00:00:00 2001 From: Vincent Dupont Date: Tue, 21 Feb 2017 09:39:41 +0100 Subject: [PATCH] pkg/cmsis-dsp: include cpu_conf.h for __FPU_PRESENT define --- .../patches/0001-include-cpu_conf.h.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkg/cmsis-dsp/patches/0001-include-cpu_conf.h.patch diff --git a/pkg/cmsis-dsp/patches/0001-include-cpu_conf.h.patch b/pkg/cmsis-dsp/patches/0001-include-cpu_conf.h.patch new file mode 100644 index 0000000000..7064e4624d --- /dev/null +++ b/pkg/cmsis-dsp/patches/0001-include-cpu_conf.h.patch @@ -0,0 +1,25 @@ +From 53e086efc203ad8e1646524c732588d27aabfc53 Mon Sep 17 00:00:00 2001 +From: Vincent Dupont +Date: Mon, 20 Feb 2017 19:00:08 +0100 +Subject: [PATCH] include cpu_conf.h + +--- + include/arm_math.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/include/arm_math.h b/include/arm_math.h +index e4b2f62..cde16bf 100644 +--- a/include/arm_math.h ++++ b/include/arm_math.h +@@ -288,6 +288,8 @@ + #ifndef _ARM_MATH_H + #define _ARM_MATH_H + ++#include "cpu_conf.h" ++ + #define __CMSIS_GENERIC /* disable NVIC and Systick functions */ + + #if defined(ARM_MATH_CM7) +-- +2.9.3 +