Skip to content

nimaltd/ff_iso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ff_iso

STM32 multitasking FATFS+SDIO

Solve problem in using fatfs+sdio in different tasks. Create a task with high priority. Call ff_init(). Call ff_loop() in infinite loop.


void StartTaskOther(void *argument)
{
  osDelay(100);
  ff_mount ......
  ....
  ....
  ff_open ....
  
  ff_close ....
  
  for(;;)
  {
    osDelay(1);
  }
}

void StartTaskSD(void *argument)
{
  ff_init();
  for(;;)
  {
    ff_loop();
    osDelay(1);
  }
}

Releases

No releases published

Packages

No packages published

Languages