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

[ext] Check for device.hpp before including in CMSIS-DSP #1203

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

calebchalmers
Copy link
Contributor

Checks for the existence of modm/platform/device.hpp before including it in arm_math.h. This fixes CMSIS-DSP not compiling when running on a hosted platform (#1201).

@salkinium
Copy link
Member

Could you add an example for Linux using CMSIS-DSP? Otherwise future refactoring will break this again.

@calebchalmers calebchalmers marked this pull request as draft August 29, 2024 05:04
@calebchalmers
Copy link
Contributor Author

Okay so after trying to add an example for this, I realized that the CMSIS DSP module isn't even available when using hosted-linux... So something seems wrong on our project's end, since it's including those DSP headers somehow.

@salkinium
Copy link
Member

Any update on this? I still find this a valuable idea!

@calebchalmers
Copy link
Contributor Author

I've been busy with classes lately, so I haven't had a chance to dig through our project to find what was causing this issue yet :(

If you want this to be added anyway, we would also have to also allow the DSP module to be used in hosted environments. Removing the check for that shouldn't be hard, but idk if it would simply work or require more effort?

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

Successfully merging this pull request may close these issues.

2 participants