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


printf causes memory corruption

I’m using a project exported from mbed to SW4STM32 for NUCLEO_F401RE and it seems using printf can corrupt memory. I’ve read countless similar forum postings that seem to point to the use of newlib and I’ve tried a number of workarounds like different newlib related linker flags, different versions of GCC for ARM, fiddling with the linker script, but nothing seems to help. I’m a newbie so there are some things I don’t comprehend enough to try.

I have used similar code in a CubeMX based project on the same hardware not did not experience this memory corruption, so I’m wondering if it has something to do with the mbed export part of it?

Has anyone experienced this that can offer some suggestions?

Hi
Got the same issue install the new arm-none-eabi, at least 5.2

JP Lathuile