I\'m migrating my code from FreeRTOS based ring buffer implementation (using FatFS lib) on ARM Cortex M7 HW (STM32F769)
FreeRTOS based implementation: At the start I