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


FATFS f_unlink not works, error code FR_LOCKED

Hello,

On STM32H7 development board I implemented a FatFs file system from Cube library to external qspi flash. I have a standalone system, without any RTOS.
I can read and write files, but I cant delete them. f_unlink always was resulted by a FR_LOCKED error code.
Files are closed, so it is not a problem.

I try to set _FS_LOCK parameter in ffconf.h to 0. It helps, but for better safety a would like to let it switched on. Now _FS_LOCK = 2, but in this case I cant delete files.