This is not code provided by myself, so I suggest:
1) Looking at the project that is provided in the FreeRTOS Interactive site, if you have not done so already.
2) Looking at the pdf file that comes with the project, if you have not done so already.
3) Contacting Energy Micro support, as they provided the code.