Associate III
April 24, 2023
Question
CubeMX define "USE_HAL_USART_REGISTER_CALLBACKS"
- April 24, 2023
- 3 replies
- 1729 views
Hello,
The CubeMX and the ST HAL has in the files "stm32XXxx_hal_conf.h" the
#define USE_HAL_USART_REGISTER_CALLBACKS
When I looking in the source code, there is no position to find where is this define used:
Searching for 'USE_HAL_USART_REGISTER_CALLBACKS'...
D:\Project\Core\Inc\stm32g4xx_hal_conf.h(108) : #define USE_HAL_USART_REGISTER_CALLBACKS 1U
Lines matched: 1 Files matched: 1 Total files searched: 130
In Activate this configuration with "USART" has no effect (CubeMx).
I think you can delete this define in all your HAL libraries and other software.
Best Regards, Markus

