Where is the correct place to define USE_HAL_UART_REGISTER_CALLBACKS as 1 to enable user callbacks? I have not found a place where it would be overwritten by a cubeMX regen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-24 3:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-05 1:05 PM
USE_HAL_UART_REGISTER_CALLBACKS is very important settings. Should be added to CubeMX!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-05 10:09 PM
Well, as there is no "global.h" probably in the project settings/compiler/options where you can add compile options.
Hardly portable across IDE solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-03 11:50 PM
It is defined (to 0 as default) in the file stm32h7xx_hal_conf.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-10 2:32 AM
Hello, i found your awnser.
In CubeMX, go to "Project manager", in the left side you will see "Advanced Settings".
if you go over there, you can see all Register Callbacks on the right side. They are all disabled my default, you can eable them there.
GL ^^
Angus
