FreeRTOS on STM32F4

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.

2

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

444
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.

 

 

333

.

– in FreeRTOSConfig.h put acoocording the picture below, lines in comment :

2

.

– open portable.h and add the following lines code :

2

.

FreeRTOSConfig.h, change the following macros according picture :

2

.

1

.

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Leave a comment