cancel
Showing results for 
Search instead for 
Did you mean: 

How to define "USE_HAL_SPI_REGISTER_CALLBACKS" flag to enable HAL_SPI_RegisterCallback() ?

MZapp.1
Associate

Hi everyone,

I am trying to register my own spi callback. I am having some troubles doing it because the "RegisterCallback" function is hidden by a compilation flag (USE_HAL_SPI_REGISTER_CALLBACKS).

My question is: how do I set that flag?

Thank you in advance!

1 REPLY 1