2024-07-21 06:02 AM - edited 2024-07-21 06:03 AM
Hi,
I write my own 'void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi)', intend to override the default weak one. But when debug, my version is never called, it always steps into the 'weak' one. I'm new to CubeIDE, the version is 1.16.0, any suggestions?
Thanks.
Solved! Go to Solution.
2024-07-21 06:33 AM
Using .cpp ?
Double check spelling/capitalization
Perhaps use objdump to inspect generated object from your source file.
2024-07-21 06:33 AM
Using .cpp ?
Double check spelling/capitalization
Perhaps use objdump to inspect generated object from your source file.
2024-07-21 06:40 AM - edited 2024-07-21 07:27 AM
Hi,
My project is created as C++ project indeed. But my 'strong' version is defined in a ".c" file. Even I convert the project to 'C' project, my strong version won't be called. And I'm sure they have same signatures.
BTW: does CubeIDE support 'objdump'? I'm on Windows system, not Linux.