Skip to main content
Associate
May 29, 2025
Solved

MISRA-C 2012 Compliance Report for STM32WB HAL and LL APIs?

  • May 29, 2025
  • 1 reply
  • 273 views

Hi,

 

Where can I find MISRA-C 2012 compilance report for HAL and LL APIs?

Does code generated by CubeMX using STM32WB Stack is MISRA-C 2012 Compilant?

https://www.st.com/en/embedded-software/stm32cubewb.html

dxxx0001_0-1748515410534.png

If we use CubeMX generated code for STM32WB for BLE application, can we claim our code is MISRA-C 2012 compliant as ST has already validated with CodeSonar? Or do we need to re-validate and have to be proven again ?

 

Where can we see detailed validation report of BLE stack or STM32WB HAL or LL api stacks component validation with exceptions if there is?

 

Kind Regards,

Dhaval

 

 

Best answer by STTwo-32

Hello @dxxx0001 

The MISRA-C 2012 compliance report for HAL and LL APIs is provided only under NDA. So, you need to contact our sales and marketing teams or create a request on OLS to start the process of NDA and after that you can contact them for the MISRA-C 2012 compliance report. 

For the generated code throw STM32CubeMX, the code generated by STM32CubeMX may not be MISRA C compliant (it's user responsibility).

Best Regards.

STTwo-32

 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
May 29, 2025

Hello @dxxx0001 

The MISRA-C 2012 compliance report for HAL and LL APIs is provided only under NDA. So, you need to contact our sales and marketing teams or create a request on OLS to start the process of NDA and after that you can contact them for the MISRA-C 2012 compliance report. 

For the generated code throw STM32CubeMX, the code generated by STM32CubeMX may not be MISRA C compliant (it's user responsibility).

Best Regards.

STTwo-32