How to initialize FatFs on internal flash

Hi, We are working on EFM32GG990 microcontroller with 1024KB internal flash memory and FreeRTOS running. We have to implement a FatFs on this internal flash memory. Could anyone tell the steps needed to initialize this filesystem on FreeRTOS? 

How to initialize FatFs on internal flash

There is an example that uses FatFS with FreeRTOS here http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_IO/Demo_Applications/LPCXpresso_LPC1769/NXP_LPC1769_Demo_Description.shtml It uses an SD card not internal flash, but as long as FatFS can format the flash I’m not sure the media being used will matter. Hopefully the example give you what you need.