coding guidelines for CUBEMX generated software?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-13 8:39 AM
Posted on October 13, 2016 at 17:39
Hi
is there a document on coding guidelines(naming convention and so on) for the code generated by STM32 CUBE MX? THX #stm32cubemx-4.17
Labels:
- Labels:
-
STM32CubeMX
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-13 8:54 AM
Posted on October 13, 2016 at 17:54
Hi dieter.dieter,
1.I think that you need a user manual for CUBEMX witch already exists: 2.Code generated by CUBEMX is based on HAL drivers so you need coding rules for HAL : have a look to the User manual for STM32CUBEF4 as example 3.If these documents don’t answer your need please tell us?-Syrine-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-13 11:28 PM
Posted on October 14, 2016 at 08:28
Hi
no I meant a coding guideline. I already know how cube works. A coding guideline or coding convention is : https://en.wikipedia.org/wiki/Coding_conventions Is ST using some thing like that?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-14 2:04 AM
Posted on October 14, 2016 at 11:04
Hi dieter.dieter,
HAL and LL source code is developed in Strict ANSI-C which makes it independent from the development tools. It is checked with CodeSonarTM static analysis tool. It is fully documented and is MISRA-C 2004 compliant.Please refer to the User Manual -Syrine-