FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2006 Threads] Beginner LPC2138 Port needs helpPosted by Nobody/Anonymous on November 15, 2006 Hi everyone. I am a beginner and hope to have some help here to create LPC2138 port using Keil IDE with RealView Compiler.
I have created a new project and created 4 groups of files.
Startup : Startup.s Source : task.c, queue.c, list.c Portable : port.c , portISR.c (from 'FreeRTOS\Source\portable\Keil\ARM7' dir) Demo Files : main.c (from 'FreeRTOS\Demo\ARM7_LPC2129_Keil' dir)
My list of include paths are as below : 1)..\FreeRTOS\Source\include; 2)..\FreeRTOS\Demo\ARM7_LPC2129_Keil
Then I clicked Build , resulting in lots of error messages. Most repeated are ..\FreeRTOS\Source\include\portable.h(181): error: #20: identifier "portSTACK_TYPE" is undefined ..\FreeRTOS\Source\include\portable.h(194): error: #20: identifier "portBASE_TYPE" is undefined
I thought portmacro.h not included so I edited portable.h uglily as below.
#ifdef KEIL_ARM7 #endif #include "..\..\Source\portable\Keil\ARM7\portmacro.h"
I did this because I didnt know where to define KEIL_ARM7 , but at least portmacro.h then included.
But then, portmacro.h generated too many errors, almost at every inline asm as below :
..\FreeRTOS\Source\include\..\..\Source\portable\Keil\ARM7\portmacro.h(91): error: #52: expected a macro parameter name
..\FreeRTOS\Source\include\..\..\Source\portable\Keil\ARM7\portmacro.h(110): error: #40: expected an identifier
Sorry for long post, but I want to be detail. My question now is , what do I do? I heard FreeRTOS easy to port, but I have worked several days at this. Is there any trick that I dont know?
Thanks for listening.
RE: Beginner LPC2138 Port needs helpPosted by Nobody/Anonymous on November 15, 2006 Unfortunately I suspect the Keil compiler (as was shipped with uVision) and the ARM compiler (now shipped with uVision) use different syntax.
When can we expect a uVision port Richard?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|