mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 18:59:07 +08:00
Test for CortexM4 and FPU rather than the ARM mathlib-internal define.
This commit is contained in:
parent
ee5cd2c95a
commit
01ea8eb54f
@ -39,7 +39,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef ARM_MATH_CM4
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#if defined(CONFIG_ARCH_CORTEXM4) && defined(CONFIG_ARCH_FPU)
|
||||
#include "arm/Matrix.hpp"
|
||||
#else
|
||||
#include "generic/Matrix.hpp"
|
||||
|
||||
@ -39,7 +39,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef ARM_MATH_CM4
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#if defined(CONFIG_ARCH_CORTEXM4) && defined(CONFIG_ARCH_FPU)
|
||||
#include "arm/Vector.hpp"
|
||||
#else
|
||||
#include "generic/Vector.hpp"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user