Is it possible to generate CubeMX Code bare Metal? Without Hal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 12:07 AM
Because I don't want use HAL , but want use the possibility to configure pins with CubeMX
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 1:18 AM
Hello @sven ,
STM32CubeMX supports custom code generation by means of a FreeMarker template. Check the UM1718 section 6.3 Custom code generation.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 12:22 AM
on many peripherals you can choose also LL (low level ) lib , or HAL.
+
you can also use cube/HAL or LL just to do init (as i do sometimes) and then in program write direct to registers for max. speed. (if possible...no good idea for USB communication, for example)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 1:18 AM
Hello @sven ,
STM32CubeMX supports custom code generation by means of a FreeMarker template. Check the UM1718 section 6.3 Custom code generation.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
