Skip to content

[BUG] Cannot compile with ARM-Cortex processors #943

@chent11

Description

@chent11

Description

When an ARM GCC compiles the code below,

geometry/vectors_3d.c:10 #include <arm_math.h>
geometry/quaternions.c:10 #include <arm_math.h>

it will complain about the lacking of "arm_math.h" file. Because this is not a standard C math library, you need to add the CMSIS-DSP library to your project and tell the compiler to link it so that it can be compiled.

Expected behavior

No errors would prompt

Actual behavior

fatal error: arm_math.h: No such file or directory

Possible fix

Add CMSIS-DSP library to this repo

Steps to reproduce

Use an ARM GCC to compile this repo

Context

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions