Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


You are viewing a reply to STM32L0538 using FATFS with SPI  

STM32L0538 using FATFS with SPI

Hi,

follow the call of MX_FATFS_Init() and look what it does.

If you use a plain CubeMX generated project you have to fill the 5 skeleton functions in user_diskio.c
Then provide what these functions needs.

There are examples in STM32Cube_FW_L0... repository.

For example the IO functions:
STM32Cube_FW_L0_V1.5.0/Drivers/BSP/Adafruit_Shield/stm32_adafruit_sd.c

For example the example user_diskio.c:
STM32Cube_FW_L0_V1.5.0/Middlewares/Third_Party/FatFs/src/drivers/sd_diskio.c

Dieter