Browse Source

Fix fallout from removing the spurious CMSIS

sbg
px4dev 12 years ago
parent
commit
91dba46524
  1. 4
      apps/mathlib/CMSIS/Include/core_cm3.h
  2. 6
      apps/mathlib/CMSIS/Include/core_cm4.h
  3. 2
      apps/mathlib/math/arm/Matrix.hpp
  4. 2
      apps/mathlib/math/arm/Vector.hpp
  5. 5
      nuttx/configs/px4fmu/common/Make.defs

4
apps/mathlib/CMSIS/Include/core_cm3.h

@ -118,8 +118,8 @@ @@ -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 */

6
apps/mathlib/CMSIS/Include/core_cm4.h

@ -151,9 +151,9 @@ @@ -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 */

2
apps/mathlib/math/arm/Matrix.hpp

@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
#include "../Matrix.hpp"
// arm specific
#include "arm_math.h"
#include "../../CMSIS/Include/arm_math.h"
namespace math
{

2
apps/mathlib/math/arm/Vector.hpp

@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@
#include "../test/test.hpp"
// arm specific
#include "arm_math.h"
#include "../../CMSIS/Include/arm_math.h"
namespace math
{

5
nuttx/configs/px4fmu/common/Make.defs

@ -67,11 +67,6 @@ ARCHCPUFLAGS = -mcpu=cortex-m4 \ @@ -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)

Loading…
Cancel
Save