Open calebchalmers opened 2 months ago
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.
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
inarm_math.h
to provide configuration; however, for hosted platforms it seems like modm doesn't generate adevice.hpp
file.