Look at FreeRTOS introduction on post : https://bluetechs.wordpress.com/zothers/x/freertos/
STM32F4 + Keil + FreeRTOS
Copy the template project folder as we see at https://bluetechs.wordpress.com/zothers/x/keil-arm/, or picture below.
We will change the Template to now being aFreeRTOS project template, we could name it STM32F4X_TEMPLATE_FreeRTOS.
We start by adding a new Folder FreeRTOS
1 . Download last version http://sourceforge.net/projects/freertos/files/ to the Project Folder.
2 . – Copy downloaded FreeRTOSV8.1.2/FreeRTOS/source to the recent created FreeRTOS folder.
– In folder source/portable delet all exept folers “RVDS” and “MemMang“.
– In folder RVDS remove all folder exept ARM_CM4F.
– Copy FreeRTOSV8.1.2\FreeRTOS\Demo\CORTEX_M4F_STM32F407ZG-SK\FreeRTOSConfig.h to FreeRTOS folder.
.
– in FreeRTOSConfig.h put acoocording the picture below, lines in comment :
.
– open portable.h and add the following lines code :
.
FreeRTOSConfig.h, change the following macros according picture :
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.