Development tools for Zephyr on STM32Workbench for Zephyr: VS Code extension to set up, build, flash and debug Zephyr applications on STM32.Devicetree manager: browse, edit and visualize Zephyr devicetree, STM32CubeMX-like for Zephyr.
Well, that is strange. What do you mean "stops forever"? The execution just never comes back from the function? I would try to use the debugger and pause the execution when it's stuck, so I could find out where (which code line / instruction) and why and it got stuck.