Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMSIS DSP error when targeting hosted platforms #1201

Open
calebchalmers opened this issue Aug 19, 2024 · 1 comment
Open

CMSIS DSP error when targeting hosted platforms #1201

calebchalmers opened this issue Aug 19, 2024 · 1 comment
Labels

Comments

@calebchalmers
Copy link
Contributor

calebchalmers commented Aug 19, 2024

When building a project with the CMSIS DSP module for a hosted target, I get the following error:

modm/ext/cmsis/dsp/arm_math.h:34:10: fatal error: modm/platform/device.hpp: No such file or directory

This is due to my recent PR about including device.hpp in arm_math.h to provide configuration; however, for hosted platforms it seems like modm doesn't generate a device.hpp file.

@salkinium
Copy link
Member

Ah interesting, I never thought about building CMSIS-DSP for hosted but according to the docs that is supported. Probably also a good idea for testing etc.

Hosted does not generate a device.hpp mostly because hosted doesn't have a specific hardware. I would prefer to not include it in the arm_math.h for hosted builds. I hope the CMSIS-DSP has sensible defaults for hosted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants