STM32F476VGT problems with SD Card with FreeRTOS, but it works if there's no FreeRTOS
I'm using the MCU STM32F476VGT on a custom board, my problem is that I recive FR_DISK_ERROR from command f_mount. I have verified that the SD works because I've tested it in a code without FreeRTOS on the same board and i write on the SD without problems, but when I implement the same code on a FW with FreeRTOS it doesn't work (I'm using only defaultTask with SD procedure in it).
EDIT: debugging the code I get the error from the function in cmsis_os.c
xQueueReceive(queue_id, &event.value.v, ticks)
that returns errQUEUE_EMPTY
I get that the error is in something that regards FreeRTOS configurations, but I followed many tutorials and I didn't see particular configurations to use with SD
I'm using STM32CubeMX Version: 5.6.0-RC6 and STM32CubeIDE Version: 1.3.0
Kind Regards
Flavio
