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