Dear Sir,
Please give me step by step guidelines for porting uCOS-II for NXP LPC2148
using Keil uVision4 IDE which helps me more. Please give small code as example
as early as possible.
Thanking you,
With regards,
Sangmeshwar
uCOS-II for LPC2148 using Keil uVision4
Started by ●August 27, 2012
Reply by ●August 27, 20122012-08-27
The point of a forum is for people to HELP others who are having difficulty
when they have at least spent some effort themselves first, not to do
somebody elses job form them.
Why not try reading the uCOS documentation first, attempt to do the port,
then come back if you having specific difficulties, with examples of the
code where you are having problems, or specific detailed questions where you
don't understand something.
From: l... [mailto:l...] On Behalf Of
sskendre_lect
Sent: 27 August 2012 14:40
To: l...
Subject: [lpc2000] uCOS-II for LPC2148 using Keil uVision4
Dear Sir,
Please give me step by step guidelines for porting uCOS-II for NXP LPC2148
using Keil uVision4 IDE which helps me more. Please give small code as
example as early as possible.
Thanking you,
With regards,
Sangmeshwar
when they have at least spent some effort themselves first, not to do
somebody elses job form them.
Why not try reading the uCOS documentation first, attempt to do the port,
then come back if you having specific difficulties, with examples of the
code where you are having problems, or specific detailed questions where you
don't understand something.
From: l... [mailto:l...] On Behalf Of
sskendre_lect
Sent: 27 August 2012 14:40
To: l...
Subject: [lpc2000] uCOS-II for LPC2148 using Keil uVision4
Dear Sir,
Please give me step by step guidelines for porting uCOS-II for NXP LPC2148
using Keil uVision4 IDE which helps me more. Please give small code as
example as early as possible.
Thanking you,
With regards,
Sangmeshwar
Reply by ●August 27, 20122012-08-27
On 27/08/2012 15:36, Phil Young wrote:
>
>
> The point of a forum is for people to HELP others who are having difficulty
> when they have at least spent some effort themselves first, not to do
> somebody elses job form them.
>
> Why not try reading the uCOS documentation first, attempt to do the port,
> then come back if you having specific difficulties, with examples of the
> code where you are having problems, or specific detailed questions where you
> don't understand something.
...or contact Micrium's support.
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 7000 downloads per month.
+ http://www.FreeRTOS.org/trace
15 interconnected trace views. An indispensable productivity tool.
>
>
> The point of a forum is for people to HELP others who are having difficulty
> when they have at least spent some effort themselves first, not to do
> somebody elses job form them.
>
> Why not try reading the uCOS documentation first, attempt to do the port,
> then come back if you having specific difficulties, with examples of the
> code where you are having problems, or specific detailed questions where you
> don't understand something.
...or contact Micrium's support.
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 7000 downloads per month.
+ http://www.FreeRTOS.org/trace
15 interconnected trace views. An indispensable productivity tool.
Reply by ●August 27, 20122012-08-27
> Dear Sir, Please give me step by step guidelines for
porting uCOS-II
> for NXP LPC2148 using Keil uVision4 IDE which helps me more. Please
> give small code as example as early as possible.
Here's the 'step-by-step' guidelines, however, they are for GCC
(and an LPC2138).
http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
You should be able to figure out how to get it working for
the uVision tools (or just select the GCC compiler as the
backend for those tools).
Cheers,
Dave
> for NXP LPC2148 using Keil uVision4 IDE which helps me more. Please
> give small code as example as early as possible.
Here's the 'step-by-step' guidelines, however, they are for GCC
(and an LPC2138).
http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
You should be able to figure out how to get it working for
the uVision tools (or just select the GCC compiler as the
backend for those tools).
Cheers,
Dave
Reply by ●August 30, 20122012-08-30
Thank you,
I am working on Keil+uCOs-II
with regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
> > Dear Sir, Please give me step by step guidelines for porting uCOS-II
> > for NXP LPC2148 using Keil uVision4 IDE which helps me more. Please
> > give small code as example as early as possible.
>
> Here's the 'step-by-step' guidelines, however, they are for GCC
> (and an LPC2138).
>
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
> http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
>
> You should be able to figure out how to get it working for
> the uVision tools (or just select the GCC compiler as the
> backend for those tools).
>
> Cheers,
> Dave
>
I am working on Keil+uCOs-II
with regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
> > Dear Sir, Please give me step by step guidelines for porting uCOS-II
> > for NXP LPC2148 using Keil uVision4 IDE which helps me more. Please
> > give small code as example as early as possible.
>
> Here's the 'step-by-step' guidelines, however, they are for GCC
> (and an LPC2138).
>
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
> http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
>
> You should be able to figure out how to get it working for
> the uVision tools (or just select the GCC compiler as the
> backend for those tools).
>
> Cheers,
> Dave
>
Reply by ●September 7, 20122012-09-07
Dear Sir,
Thanking you for providing the link of your project. I have studied and tried to compile by using GNUARM. I am able to compile and create the hex files for examples(without uCOS). When i compile the examples of uCOS then i get the following errors. Please help me to solve the error.
E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi -nostartfiles -T lpc213
8_flash.ld start.s ex1.c bsp.c -o ex1test.elf
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `irq_addr':
(.text+0x20): undefined reference to `OS_CPU_IRQ_ISR'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `fiq_addr':
(.text+0x24): undefined reference to `OS_CPU_FIQ_ISR'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask2':
ex1.c:(.text+0x24): undefined reference to `OSTimeDlyHMSM'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask1':
ex1.c:(.text+0x54): undefined reference to `OSTaskCreate'
ex1.c:(.text+0x74): undefined reference to `OSTimeDlyHMSM'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `main':
ex1.c:(.text+0xc4): undefined reference to `OSInit'
ex1.c:(.text+0xd8): undefined reference to `OSTaskCreate'
ex1.c:(.text+0xdc): undefined reference to `OSStart'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/cce4EsAU.o: In function `OS_CPU_FIQ_ISR
_Handler':
bsp.c:(.text+0xa0): undefined reference to `OSTimeTick'
collect2: ld returned 1 exit status
Thanking you,
With regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
> > Dear Sir, Please give me step by step guidelines for porting uCOS-II
> > for NXP LPC2148 using Keil uVision4 IDE which helps me more. Please
> > give small code as example as early as possible.
>
> Here's the 'step-by-step' guidelines, however, they are for GCC
> (and an LPC2138).
>
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
> http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
>
> You should be able to figure out how to get it working for
> the uVision tools (or just select the GCC compiler as the
> backend for those tools).
>
> Cheers,
> Dave
>
Thanking you for providing the link of your project. I have studied and tried to compile by using GNUARM. I am able to compile and create the hex files for examples(without uCOS). When i compile the examples of uCOS then i get the following errors. Please help me to solve the error.
E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi -nostartfiles -T lpc213
8_flash.ld start.s ex1.c bsp.c -o ex1test.elf
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `irq_addr':
(.text+0x20): undefined reference to `OS_CPU_IRQ_ISR'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `fiq_addr':
(.text+0x24): undefined reference to `OS_CPU_FIQ_ISR'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask2':
ex1.c:(.text+0x24): undefined reference to `OSTimeDlyHMSM'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask1':
ex1.c:(.text+0x54): undefined reference to `OSTaskCreate'
ex1.c:(.text+0x74): undefined reference to `OSTimeDlyHMSM'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `main':
ex1.c:(.text+0xc4): undefined reference to `OSInit'
ex1.c:(.text+0xd8): undefined reference to `OSTaskCreate'
ex1.c:(.text+0xdc): undefined reference to `OSStart'
/cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/cce4EsAU.o: In function `OS_CPU_FIQ_ISR
_Handler':
bsp.c:(.text+0xa0): undefined reference to `OSTimeTick'
collect2: ld returned 1 exit status
Thanking you,
With regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
> > Dear Sir, Please give me step by step guidelines for porting uCOS-II
> > for NXP LPC2148 using Keil uVision4 IDE which helps me more. Please
> > give small code as example as early as possible.
>
> Here's the 'step-by-step' guidelines, however, they are for GCC
> (and an LPC2138).
>
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
> http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
>
> You should be able to figure out how to get it working for
> the uVision tools (or just select the GCC compiler as the
> backend for those tools).
>
> Cheers,
> Dave
>
Reply by ●September 7, 20122012-09-07
Hi Sangmeshwar,
> Thanking you for providing the link of your project. I have
> studied and tried to compile by using GNUARM. I am able to
> compile and create the hex files for examples(without uCOS).
Ok, that is a good start.
> When i compile the examples of uCOS then i get the following errors.
> Please help me to solve the error.
>
> E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi -nostartfiles -T lpc213
> 8_flash.ld start.s ex1.c bsp.c -o ex1test.elf
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `irq_addr':
> (.text+0x20): undefined reference to `OS_CPU_IRQ_ISR'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `fiq_addr':
> (.text+0x24): undefined reference to `OS_CPU_FIQ_ISR'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask2':
> ex1.c:(.text+0x24): undefined reference to `OSTimeDlyHMSM'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask1':
> ex1.c:(.text+0x54): undefined reference to `OSTaskCreate'
> ex1.c:(.text+0x74): undefined reference to `OSTimeDlyHMSM'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `main':
> ex1.c:(.text+0xc4): undefined reference to `OSInit'
> ex1.c:(.text+0xd8): undefined reference to `OSTaskCreate'
> ex1.c:(.text+0xdc): undefined reference to `OSStart'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/cce4EsAU.o: In function `OS_CPU_FIQ_ISR
> _Handler':
> bsp.c:(.text+0xa0): undefined reference to `OSTimeTick'
> collect2: ld returned 1 exit status
Those functions are uCOS-II functions. I'm sure the document points
out that the uCOS source is not provided, since I'm not allowed to
distribute that. You need to download uCOS-II. Ideally you should
download the same version as I used to create the tutorial
(I think it was a version that shipped with one of the textbooks).
The tutorial provides enough information that you should be able
to get a newer version of uCOS-II working with the code.
Cheers,
Dave
> Thanking you for providing the link of your project. I have
> studied and tried to compile by using GNUARM. I am able to
> compile and create the hex files for examples(without uCOS).
Ok, that is a good start.
> When i compile the examples of uCOS then i get the following errors.
> Please help me to solve the error.
>
> E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi -nostartfiles -T lpc213
> 8_flash.ld start.s ex1.c bsp.c -o ex1test.elf
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `irq_addr':
> (.text+0x20): undefined reference to `OS_CPU_IRQ_ISR'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `fiq_addr':
> (.text+0x24): undefined reference to `OS_CPU_FIQ_ISR'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask2':
> ex1.c:(.text+0x24): undefined reference to `OSTimeDlyHMSM'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask1':
> ex1.c:(.text+0x54): undefined reference to `OSTaskCreate'
> ex1.c:(.text+0x74): undefined reference to `OSTimeDlyHMSM'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `main':
> ex1.c:(.text+0xc4): undefined reference to `OSInit'
> ex1.c:(.text+0xd8): undefined reference to `OSTaskCreate'
> ex1.c:(.text+0xdc): undefined reference to `OSStart'
> /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/cce4EsAU.o: In function `OS_CPU_FIQ_ISR
> _Handler':
> bsp.c:(.text+0xa0): undefined reference to `OSTimeTick'
> collect2: ld returned 1 exit status
Those functions are uCOS-II functions. I'm sure the document points
out that the uCOS source is not provided, since I'm not allowed to
distribute that. You need to download uCOS-II. Ideally you should
download the same version as I used to create the tutorial
(I think it was a version that shipped with one of the textbooks).
The tutorial provides enough information that you should be able
to get a newer version of uCOS-II working with the code.
Cheers,
Dave
Reply by ●September 7, 20122012-09-07
Dear Sir,
Thank you for quick reply. I have downloaded the uCOS-II 2.52 version and i have kept in the ucos-ii folder and then i have compiled the code. After that i am getting the above mentioned errors. Please guide me for solving the errors.
Thanking you,
With regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
>
> Hi Sangmeshwar,
>
> > Thanking you for providing the link of your project. I have
> > studied and tried to compile by using GNUARM. I am able to
> > compile and create the hex files for examples(without uCOS).
>
> Ok, that is a good start.
>
> > When i compile the examples of uCOS then i get the following errors.
> > Please help me to solve the error.
> >
> > E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi -nostartfiles -T lpc213
> > 8_flash.ld start.s ex1.c bsp.c -o ex1test.elf
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `irq_addr':
> > (.text+0x20): undefined reference to `OS_CPU_IRQ_ISR'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `fiq_addr':
> > (.text+0x24): undefined reference to `OS_CPU_FIQ_ISR'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask2':
> > ex1.c:(.text+0x24): undefined reference to `OSTimeDlyHMSM'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask1':
> > ex1.c:(.text+0x54): undefined reference to `OSTaskCreate'
> > ex1.c:(.text+0x74): undefined reference to `OSTimeDlyHMSM'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `main':
> > ex1.c:(.text+0xc4): undefined reference to `OSInit'
> > ex1.c:(.text+0xd8): undefined reference to `OSTaskCreate'
> > ex1.c:(.text+0xdc): undefined reference to `OSStart'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/cce4EsAU.o: In function `OS_CPU_FIQ_ISR
> > _Handler':
> > bsp.c:(.text+0xa0): undefined reference to `OSTimeTick'
> > collect2: ld returned 1 exit status
>
> Those functions are uCOS-II functions. I'm sure the document points
> out that the uCOS source is not provided, since I'm not allowed to
> distribute that. You need to download uCOS-II. Ideally you should
> download the same version as I used to create the tutorial
> (I think it was a version that shipped with one of the textbooks).
>
> The tutorial provides enough information that you should be able
> to get a newer version of uCOS-II working with the code.
>
> Cheers,
> Dave
>
Thank you for quick reply. I have downloaded the uCOS-II 2.52 version and i have kept in the ucos-ii folder and then i have compiled the code. After that i am getting the above mentioned errors. Please guide me for solving the errors.
Thanking you,
With regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
>
> Hi Sangmeshwar,
>
> > Thanking you for providing the link of your project. I have
> > studied and tried to compile by using GNUARM. I am able to
> > compile and create the hex files for examples(without uCOS).
>
> Ok, that is a good start.
>
> > When i compile the examples of uCOS then i get the following errors.
> > Please help me to solve the error.
> >
> > E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi -nostartfiles -T lpc213
> > 8_flash.ld start.s ex1.c bsp.c -o ex1test.elf
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `irq_addr':
> > (.text+0x20): undefined reference to `OS_CPU_IRQ_ISR'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccN4iuAJ.o: In function `fiq_addr':
> > (.text+0x24): undefined reference to `OS_CPU_FIQ_ISR'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask2':
> > ex1.c:(.text+0x24): undefined reference to `OSTimeDlyHMSM'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `TestTask1':
> > ex1.c:(.text+0x54): undefined reference to `OSTaskCreate'
> > ex1.c:(.text+0x74): undefined reference to `OSTimeDlyHMSM'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/ccjCVpv6.o: In function `main':
> > ex1.c:(.text+0xc4): undefined reference to `OSInit'
> > ex1.c:(.text+0xd8): undefined reference to `OSTaskCreate'
> > ex1.c:(.text+0xdc): undefined reference to `OSStart'
> > /cygdrive/c/DOCUME~1/Shree/LOCALS~1/Temp/cce4EsAU.o: In function `OS_CPU_FIQ_ISR
> > _Handler':
> > bsp.c:(.text+0xa0): undefined reference to `OSTimeTick'
> > collect2: ld returned 1 exit status
>
> Those functions are uCOS-II functions. I'm sure the document points
> out that the uCOS source is not provided, since I'm not allowed to
> distribute that. You need to download uCOS-II. Ideally you should
> download the same version as I used to create the tutorial
> (I think it was a version that shipped with one of the textbooks).
>
> The tutorial provides enough information that you should be able
> to get a newer version of uCOS-II working with the code.
>
> Cheers,
> Dave
>
Reply by ●September 7, 20122012-09-07
> Dear Sir, Thank you for quick reply. I have
downloaded the uCOS-II
> 2.52 version and i have kept in the ucos-ii folder and then i have
> compiled the code. After that i am getting the above mentioned
> errors. Please guide me for solving the errors.
Ok.
>>> E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi
>>> -nostartfiles -T lpc2138_flash.ld start.s ex1.c bsp.c -o
>>> ex1test.elf ...
There is a Makefile in ucos\ex1\.
Are you using the Makefile?
Did you look at the Makefile variables and check that your copy
of ucos-ii is in the right location, eg.,
UCOS = ../ucos-ii-v2.52
in the folder ucos\ucos-ii-v2.52?
You should be able to cd into ex1 and just type make.
Cheers,
Dave
> 2.52 version and i have kept in the ucos-ii folder and then i have
> compiled the code. After that i am getting the above mentioned
> errors. Please guide me for solving the errors.
Ok.
>>> E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi
>>> -nostartfiles -T lpc2138_flash.ld start.s ex1.c bsp.c -o
>>> ex1test.elf ...
There is a Makefile in ucos\ex1\.
Are you using the Makefile?
Did you look at the Makefile variables and check that your copy
of ucos-ii is in the right location, eg.,
UCOS = ../ucos-ii-v2.52
in the folder ucos\ucos-ii-v2.52?
You should be able to cd into ex1 and just type make.
Cheers,
Dave
Reply by ●September 7, 20122012-09-07
Dear Sir,
Thank you. I have compiled the code successfully as per your guide lines. Once again thank you for your quick response.
Thanking you,
With regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
>
> > Dear Sir, Thank you for quick reply. I have downloaded the uCOS-II
> > 2.52 version and i have kept in the ucos-ii folder and then i have
> > compiled the code. After that i am getting the above mentioned
> > errors. Please guide me for solving the errors.
>
> Ok.
>
> >>> E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi
> >>> -nostartfiles -T lpc2138_flash.ld start.s ex1.c bsp.c -o
> >>> ex1test.elf ...
>
> There is a Makefile in ucos\ex1\.
>
> Are you using the Makefile?
>
> Did you look at the Makefile variables and check that your copy
> of ucos-ii is in the right location, eg.,
>
> UCOS = ../ucos-ii-v2.52
>
> in the folder ucos\ucos-ii-v2.52?
>
> You should be able to cd into ex1 and just type make.
>
> Cheers,
> Dave
>
Thank you. I have compiled the code successfully as per your guide lines. Once again thank you for your quick response.
Thanking you,
With regards,
Sangmeshwar
--- In l..., David Hawkins wrote:
>
> > Dear Sir, Thank you for quick reply. I have downloaded the uCOS-II
> > 2.52 version and i have kept in the ucos-ii folder and then i have
> > compiled the code. After that i am getting the above mentioned
> > errors. Please guide me for solving the errors.
>
> Ok.
>
> >>> E:\ARM\RTOS\ucos\ucos\ex1>arm-elf-gcc -O2 -mcpu=arm7tdmi
> >>> -nostartfiles -T lpc2138_flash.ld start.s ex1.c bsp.c -o
> >>> ex1test.elf ...
>
> There is a Makefile in ucos\ex1\.
>
> Are you using the Makefile?
>
> Did you look at the Makefile variables and check that your copy
> of ucos-ii is in the right location, eg.,
>
> UCOS = ../ucos-ii-v2.52
>
> in the folder ucos\ucos-ii-v2.52?
>
> You should be able to cd into ex1 and just type make.
>
> Cheers,
> Dave
>