2016-10-13 08:39 AM
Hi
is there a document on coding guidelines(naming convention and so on) for the code generated by STM32 CUBE MX? THX #stm32cubemx-4.172016-10-13 08:54 AM
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-2016-10-13 11:28 PM
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?2016-10-14 02:04 AM
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-