Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


You are viewing a reply to Issue snprintf floats  

Issue snprintf floats

I have been looking further into this.
When the hardfault occurs the PC points to _Bfree
Hardfault

I have been looking into what the implementation of snprintf does. It seems it is using some dynamic memory using malloc().

Way back I found some resource telling me to use pvPortMalloc and vPortFree instead of the normal malloc and free. I am using FreeRTOS with heap4.

Could it be the call to malloc causing problems because I am using FreeRTOS?