diff options
author | px4dev <px4@purgatory.org> | 2013-01-06 19:20:22 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-01-06 19:20:22 -0800 |
commit | 91dba465241dbff972f4ba99619d8d7af9c5649b (patch) | |
tree | 3b9d8fb18dd9236643e4835800413c0f0dc53184 | |
parent | 6b341e583a1db44ad20c89d58657e4cad3bf9e3c (diff) | |
download | px4-firmware-91dba465241dbff972f4ba99619d8d7af9c5649b.tar.gz px4-firmware-91dba465241dbff972f4ba99619d8d7af9c5649b.tar.bz2 px4-firmware-91dba465241dbff972f4ba99619d8d7af9c5649b.zip |
Fix fallout from removing the spurious CMSIS
-rw-r--r-- | apps/mathlib/CMSIS/Include/core_cm3.h | 4 | ||||
-rw-r--r-- | apps/mathlib/CMSIS/Include/core_cm4.h | 6 | ||||
-rw-r--r-- | apps/mathlib/math/arm/Matrix.hpp | 2 | ||||
-rw-r--r-- | apps/mathlib/math/arm/Vector.hpp | 2 | ||||
-rw-r--r-- | nuttx/configs/px4fmu/common/Make.defs | 5 |
5 files changed, 7 insertions, 12 deletions
diff --git a/apps/mathlib/CMSIS/Include/core_cm3.h b/apps/mathlib/CMSIS/Include/core_cm3.h index db1716ad9..733d6be53 100644 --- a/apps/mathlib/CMSIS/Include/core_cm3.h +++ b/apps/mathlib/CMSIS/Include/core_cm3.h @@ -118,8 +118,8 @@ #endif
#include <stdint.h> /* standard types definitions */
-#include <core_cmInstr.h> /* Core Instruction Access */
-#include <core_cmFunc.h> /* Core Function Access */
+#include "core_cmInstr.h" /* Core Instruction Access */
+#include "core_cmFunc.h" /* Core Function Access */
#endif /* __CORE_CM3_H_GENERIC */
diff --git a/apps/mathlib/CMSIS/Include/core_cm4.h b/apps/mathlib/CMSIS/Include/core_cm4.h index 024302e4a..5f3b7d619 100644 --- a/apps/mathlib/CMSIS/Include/core_cm4.h +++ b/apps/mathlib/CMSIS/Include/core_cm4.h @@ -151,9 +151,9 @@ #endif
#include <stdint.h> /* standard types definitions */
-#include <core_cmInstr.h> /* Core Instruction Access */
-#include <core_cmFunc.h> /* Core Function Access */
-#include <core_cm4_simd.h> /* Compiler specific SIMD Intrinsics */
+#include "core_cmInstr.h" /* Core Instruction Access */
+#include "core_cmFunc.h" /* Core Function Access */
+#include "core_cm4_simd.h" /* Compiler specific SIMD Intrinsics */
#endif /* __CORE_CM4_H_GENERIC */
diff --git a/apps/mathlib/math/arm/Matrix.hpp b/apps/mathlib/math/arm/Matrix.hpp index 63d755649..715fd3a5e 100644 --- a/apps/mathlib/math/arm/Matrix.hpp +++ b/apps/mathlib/math/arm/Matrix.hpp @@ -51,7 +51,7 @@ #include "../Matrix.hpp" // arm specific -#include "arm_math.h" +#include "../../CMSIS/Include/arm_math.h" namespace math { diff --git a/apps/mathlib/math/arm/Vector.hpp b/apps/mathlib/math/arm/Vector.hpp index e1f1838e7..58d51107d 100644 --- a/apps/mathlib/math/arm/Vector.hpp +++ b/apps/mathlib/math/arm/Vector.hpp @@ -50,7 +50,7 @@ #include "../test/test.hpp" // arm specific -#include "arm_math.h" +#include "../../CMSIS/Include/arm_math.h" namespace math { diff --git a/nuttx/configs/px4fmu/common/Make.defs b/nuttx/configs/px4fmu/common/Make.defs index 44082f64e..53407f0bb 100644 --- a/nuttx/configs/px4fmu/common/Make.defs +++ b/nuttx/configs/px4fmu/common/Make.defs @@ -67,11 +67,6 @@ ARCHCPUFLAGS = -mcpu=cortex-m4 \ INSTRUMENTATIONDEFINES = -finstrument-functions \ -ffixed-r10 -#CMSIS -CMSIS_INCLUDE = $(TOPDIR)/../CMSIS/Include -CMSIS_LIB = $(TOPDIR)/../CMSIS/Lib/GCC/libarm_cortexM4lf_math.a -EXTRA_LIBS += $(CMSIS_LIB) - # pull in *just* libm from the toolchain ... this is grody LIBM = "${shell $(CC) $(ARCHCPUFLAGS) -print-file-name=libm.a}" EXTRA_LIBS += $(LIBM) |