2020-03-10 01:22 PM
I want to use NVIC_SetPriority() and NVIC_Enable_IQRn in main.c, and I have the necessary included headers, but when I try to build the program I get "undefined reference to NVIC_SetPriority".
I assume it is because the functions are headed as __STATIC_INLINE. Am I just supposed to remove the __STATIC_INLINE or is there a different way for me to access these functions?
2020-03-10 01:24 PM
Never mind, it was a simple typo. I would delete this question if I could!
2020-03-10 01:29 PM
They just need to be in your include path. Recheck that. Should be included by stm32h7xx.h
Also make sure you typed them correctly.
the __STATIC_INLINE preprocessor token should not cause issues.