mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
Fix fallout from removing the spurious CMSIS
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "../Matrix.hpp"
|
||||
|
||||
// arm specific
|
||||
#include "arm_math.h"
|
||||
#include "../../CMSIS/Include/arm_math.h"
|
||||
|
||||
namespace math
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#include "../test/test.hpp"
|
||||
|
||||
// arm specific
|
||||
#include "arm_math.h"
|
||||
#include "../../CMSIS/Include/arm_math.h"
|
||||
|
||||
namespace math
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user