• Real Time Signals India

Building up FreeRTOS environment in Keil for ARM LPC2148 Processor

STEP 1: For Porting Rtos to LPC 2148.

Keil-->Project-->new Uvision Project

STEP 2: Add startup.s file from freertosdemo

FreeRTOSv9.0.0 -->FreeRTOS --> Demo --> ARM&_LPC2129_keil_RVDS-->Startup.s (Note:make Files of type : All files("."))

Copy FreeRTOSConfig.h from here and paste in the folder where you created the project

FreeRTOSv9.0.0 -->FreeRTOS --> Demo --> ARM&_LPC2129_keil_RVDS->FreeRTOSConfig.h

STEP 3: Add list.c,queue.c,tasks.c from freertos source file

FreeRTOSv9.0.0-->FreeRTOS-->source--> select list.c/queue .c/task.c (Note:You can add only one file at a time)

STEP 4:Addport.c, portAsm.s from FreeRTOS portable

FreeRTOSv9.0.0-->FreeRTOS-->source-->portable-->RVDS-->ARM7_LPC21xx--> select port .c/portASM.s

STEP 5:Add heap_2.c from


STEP 6:Add from project->Option for target->c/c++ Processor symbols->Define->ARm7_LPC21xx_KEIL_RVDS KEIL_THUMB_INTERWORK

STEP 7: Add from Project ->(Create the path in )options for Target->c/c++->include path->browze 3 path out of four





STEP 8:Add from Project->(Create the path in) option fr Target->ASM


After completion of all the steps, your window in Keil IDE will look as shown below:

121 views0 comments