I tried to read file and write file in one task on RTOS, but
when I read file it's stopped in the middle ?
What setting do I need to change in the task ? Is it related with timer2 per task ?
void StartDefaultTask(void const * argument)
/* init code for FATFS */
/* init code for USB_DEVICE */
/* USER CODE BEGIN StartDefaultTask */
/* Infinite loop */
reading_file_test(); <== stop in the middle here
/* USER CODE END StartDefaultTask */
I have tested without RTOS, it can read properly,
I have used timer2 as SYSTICK, and how to configure that for RTOS ?
What do you reckon I missed here ?