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

add CMSIS DSP library target to FindCMSIS.cmake #348

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zbrown23
Copy link

Add a target to the FindCMSIS.cmake that allows you to bring in the CMSIS DSP library for a given target. The targets end up looking like CMSIS::STM32::H7::M7::DSP as an example.

Let me know if there's anything you'd like me to tweak about this, otherwise it's a pretty simple change I think.

@@ -313,6 +313,13 @@ foreach(COMP ${CMSIS_FIND_COMPONENTS_FAMILIES})
set(CMSIS_${RTOS_COMP}_FOUND TRUE)
endforeach()

if(NOT (TARGET CMSIS::STM32::${FAMILY}${CORE_C}::DSP}))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, do you know for sure that we do have the DSP for all families ? otherwise we might want to check first

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Hish15,
Sorry for taking so long to respond on this one. I went through and validated that every family has the ability to pull in DSP. Would you like me to write a unit test to make sure this remains the case?

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

Successfully merging this pull request may close these issues.

2 participants