Unable to close files in STM32 with USB MSC + FATFS
I created a project to create, write, read and close a file in a USB stick, using a STM32F413 MCU. I used STM32CubeMX to generate the code. The relevant part of the code is this: uint8_t text[]={"Hello world\r\n"},rbuff[50],test=0; switch(Appli_sta...