EmbeddedRelated.com
Forums

LPC-2148 demo code version 1.43 available

Started by "J.C. Wren" November 10, 2008
In the never-ending release cycle... See http://jcwren.com/arm for the code.

No functional changes to the code, so this really only affects folks
using WinARM.

--jc

2008/11/09, version 1.43:

Attempted WinARM happiness. Working code can be compiled with the WinARM
20060606 build. Please see the README.WinARM file in the .zip or .tgz
file.

An Engineer's Guide to the LPC2100 Series

Hi Guys!I am new in arm development, and i have a problem to compile
lpc2148_Demo version 1.43 default
on WinArm version 20070505.
I am trying to compile with 'make -f Makefile.winarm' on WinXP prompt.
These are errors that i can't solve. Somebody could give me a help?
Microsoft Windows XP [vers 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Kinho>cd c:\lpc2148\lpc2148_demo

C:\LPC2148\lpc2148_demo>make -f Makefile.winarm
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
Error Makefile.winarm 11: Colon expected
Error Makefile.winarm 115: Colon expected
Error Makefile.winarm 116: Command syntax error
Error Makefile.winarm 143: Command syntax error
Error Makefile.winarm 144: Command syntax error
Error Makefile.winarm 145: Command syntax error
*** 6 errors during make ***

C:\LPC2148\lpc2148_demo>

Thanks for All!
Marcos S. Lucas

2008/11/10 J.C. Wren

> In the never-ending release cycle... See http://jcwren.com/arm for the
> code.
>
> No functional changes to the code, so this really only affects folks
> using WinARM.
>
> --jc
>
> 2008/11/09, version 1.43:
>
> Attempted WinARM happiness. Working code can be compiled with the WinARM
> 20060606 build. Please see the README.WinARM file in the .zip or .tgz
> file.
>
>

--
Marcos S. Lucas

It would appear that you don't have WinARM 20060606 installed, or you
have not modified your path as per the WinARM installation
instructions.

The version of 'make' you're picking up definitely not the one in the
WinARM distribution.

--jc

On Tue, Nov 11, 2008 at 9:30 PM, Marcos Lucas wrote:
> Hi Guys!I am new in arm development, and i have a problem to compile
> lpc2148_Demo version 1.43 default
> on WinArm version 20070505.
> I am trying to compile with 'make -f Makefile.winarm' on WinXP prompt.
> These are errors that i can't solve. Somebody could give me a help?
>
> Microsoft Windows XP [vers 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Kinho>cd c:\lpc2148\lpc2148_demo
>
> C:\LPC2148\lpc2148_demo>make -f Makefile.winarm
> MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
> Error Makefile.winarm 11: Colon expected
> Error Makefile.winarm 115: Colon expected
> Error Makefile.winarm 116: Command syntax error
> Error Makefile.winarm 143: Command syntax error
> Error Makefile.winarm 144: Command syntax error
> Error Makefile.winarm 145: Command syntax error
> *** 6 errors during make ***
>
> C:\LPC2148\lpc2148_demo> Thanks for All!
> Marcos S. Lucas
>
> 2008/11/10 J.C. Wren > In the never-ending release cycle... See http://jcwren.com/arm for the
>> code.
>>
>> No functional changes to the code, so this really only affects folks
>> using WinARM.
>>
>> --jc
>>
>> 2008/11/09, version 1.43:
>>
>> Attempted WinARM happiness. Working code can be compiled with the WinARM
>> 20060606 build. Please see the README.WinARM file in the .zip or .tgz
>> file.
>>
>> --
> Marcos S. Lucas
>
>
>
>

Ok!I downloading winarm 20060606 for test.
If i want to use linux for develop, i need other configurations to
compile "default version" with small modifications ?

Thanks!
Marcos

2008/11/11 J.C. Wren

> It would appear that you don't have WinARM 20060606 installed, or you
> have not modified your path as per the WinARM installation
> instructions.
>
> The version of 'make' you're picking up definitely not the one in the
> WinARM distribution.
>
> --jc
> On Tue, Nov 11, 2008 at 9:30 PM, Marcos Lucas >
> wrote:
> > Hi Guys!I am new in arm development, and i have a problem to compile
> > lpc2148_Demo version 1.43 default
> > on WinArm version 20070505.
> > I am trying to compile with 'make -f Makefile.winarm' on WinXP prompt.
> > These are errors that i can't solve. Somebody could give me a help?
> >
> > Microsoft Windows XP [vers 5.1.2600]
> > (C) Copyright 1985-2001 Microsoft Corp.
> >
> > C:\Documents and Settings\Kinho>cd c:\lpc2148\lpc2148_demo
> >
> > C:\LPC2148\lpc2148_demo>make -f Makefile.winarm
> > MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
> > Error Makefile.winarm 11: Colon expected
> > Error Makefile.winarm 115: Colon expected
> > Error Makefile.winarm 116: Command syntax error
> > Error Makefile.winarm 143: Command syntax error
> > Error Makefile.winarm 144: Command syntax error
> > Error Makefile.winarm 145: Command syntax error
> > *** 6 errors during make ***
> >
> > C:\LPC2148\lpc2148_demo>
> >
> > Thanks for All!
> > Marcos S. Lucas
> >
> > 2008/11/10 J.C. Wren >
> >
> >> In the never-ending release cycle... See http://jcwren.com/arm for the
> >> code.
> >>
> >> No functional changes to the code, so this really only affects folks
> >> using WinARM.
> >>
> >> --jc
> >>
> >> 2008/11/09, version 1.43:
> >>
> >> Attempted WinARM happiness. Working code can be compiled with the WinARM
> >> 20060606 build. Please see the README.WinARM file in the .zip or .tgz
> >> file.
> >>
> >>
> >
> > --
> > Marcos S. Lucas
> >
> >
> >
> >
>

--
Marcos S. Lucas

It sort of depends on what Linux distribution you use. I use Gentoo,
and emerge (the package manager) crossdev, and use crossdev to install
binutils, gcc, and newlib. Once you have your ARM tool chain
installed, you just type 'make' and away it goes.

--jc

On Tue, Nov 11, 2008 at 9:43 PM, Marcos Lucas wrote:
> Ok!I downloading winarm 20060606 for test.
> If i want to use linux for develop, i need other configurations to
> compile "default version" with small modifications ?
>
> Thanks!
> Marcos
>
> 2008/11/11 J.C. Wren > It would appear that you don't have WinARM 20060606 installed, or you
>> have not modified your path as per the WinARM installation
>> instructions.
>>
>> The version of 'make' you're picking up definitely not the one in the
>> WinARM distribution.
>>
>> --jc
>> On Tue, Nov 11, 2008 at 9:30 PM, Marcos Lucas
>> >
>> wrote:
>> > Hi Guys!I am new in arm development, and i have a problem to compile
>> > lpc2148_Demo version 1.43 default
>> > on WinArm version 20070505.
>> > I am trying to compile with 'make -f Makefile.winarm' on WinXP prompt.
>> > These are errors that i can't solve. Somebody could give me a help?
>> >
>> > Microsoft Windows XP [vers 5.1.2600]
>> > (C) Copyright 1985-2001 Microsoft Corp.
>> >
>> > C:\Documents and Settings\Kinho>cd c:\lpc2148\lpc2148_demo
>> >
>> > C:\LPC2148\lpc2148_demo>make -f Makefile.winarm
>> > MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
>> > Error Makefile.winarm 11: Colon expected
>> > Error Makefile.winarm 115: Colon expected
>> > Error Makefile.winarm 116: Command syntax error
>> > Error Makefile.winarm 143: Command syntax error
>> > Error Makefile.winarm 144: Command syntax error
>> > Error Makefile.winarm 145: Command syntax error
>> > *** 6 errors during make ***
>> >
>> > C:\LPC2148\lpc2148_demo>
>> >
>> > Thanks for All!
>> > Marcos S. Lucas
>> >
>> > 2008/11/10 J.C. Wren >
>> >
>> >> In the never-ending release cycle... See http://jcwren.com/arm for the
>> >> code.
>> >>
>> >> No functional changes to the code, so this really only affects folks
>> >> using WinARM.
>> >>
>> >> --jc
>> >>
>> >> 2008/11/09, version 1.43:
>> >>
>> >> Attempted WinARM happiness. Working code can be compiled with the
>> >> WinARM
>> >> 20060606 build. Please see the README.WinARM file in the .zip or .tgz
>> >> file.
>> >>
>> >>
>> >
>> > --
>> > Marcos S. Lucas
>> >
>> >
>> >
>> >
>> --
> Marcos S. Lucas
>
>
>
>

> -----Original Message-----
> From: l...
> [mailto:l...]On Behalf
> Of Marcos Lucas
> Sent: Tuesday, November 11, 2008 7:31 PM
> To: l...
> Subject: Re: [lpc2000] LPC-2148 demo code version 1.43 available
> Hi Guys!I am new in arm development, and i have a problem to compile
> lpc2148_Demo version 1.43 default
> on WinArm version 20070505.
> I am trying to compile with 'make -f Makefile.winarm' on WinXP prompt.
> These are errors that i can't solve. Somebody could give me a help?
> Microsoft Windows XP [vers 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Kinho>cd c:\lpc2148\lpc2148_demo
>
> C:\LPC2148\lpc2148_demo>make -f Makefile.winarm
> MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
> Error Makefile.winarm 11: Colon expected
> Error Makefile.winarm 115: Colon expected
> Error Makefile.winarm 116: Command syntax error
> Error Makefile.winarm 143: Command syntax error
> Error Makefile.winarm 144: Command syntax error
> Error Makefile.winarm 145: Command syntax error
> *** 6 errors during make ***
>
> C:\LPC2148\lpc2148_demo> Thanks for All!
> Marcos S. Lucas
>

It looks to me like you have another make utility earlier in your
path environment variable list. Instead of picking up the WinARM
make, it is picking up one written by Inprise. You could specify
the absolute path to make when you call it like:
'C:\WinARM\utils\bin\make -f Makefile.winarm'

Or, you could modify your path environment variable so that the
winarm path is earlier in the list.

Mike
Hi Mike
I am using "c:\WinARM\bin;c:\WinARM\utils\bin;" on environment
variables, this is correct ?

Marcos

2008/11/12 Michael Anton

> > -----Original Message-----
> > From: l...
> > [mailto:l... ]On Behalf
> > Of Marcos Lucas
> > Sent: Tuesday, November 11, 2008 7:31 PM
> > To: l...
> > Subject: Re: [lpc2000] LPC-2148 demo code version 1.43 available
> >
> >
> > Hi Guys!I am new in arm development, and i have a problem to compile
> > lpc2148_Demo version 1.43 default
> > on WinArm version 20070505.
> > I am trying to compile with 'make -f Makefile.winarm' on WinXP prompt.
> > These are errors that i can't solve. Somebody could give me a help?
> >
> >
> > Microsoft Windows XP [vers 5.1.2600]
> > (C) Copyright 1985-2001 Microsoft Corp.
> >
> > C:\Documents and Settings\Kinho>cd c:\lpc2148\lpc2148_demo
> >
> > C:\LPC2148\lpc2148_demo>make -f Makefile.winarm
> > MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
> > Error Makefile.winarm 11: Colon expected
> > Error Makefile.winarm 115: Colon expected
> > Error Makefile.winarm 116: Command syntax error
> > Error Makefile.winarm 143: Command syntax error
> > Error Makefile.winarm 144: Command syntax error
> > Error Makefile.winarm 145: Command syntax error
> > *** 6 errors during make ***
> >
> > C:\LPC2148\lpc2148_demo>
> >
> > Thanks for All!
> > Marcos S. Lucas
> > It looks to me like you have another make utility earlier in your
> path environment variable list. Instead of picking up the WinARM
> make, it is picking up one written by Inprise. You could specify
> the absolute path to make when you call it like:
> 'C:\WinARM\utils\bin\make -f Makefile.winarm'
>
> Or, you could modify your path environment variable so that the
> winarm path is earlier in the list.
>
> Mike
>
>
>

--
Marcos S. Lucas

> -----Original Message-----
> From: l...
> [mailto:l...]On Behalf
> Of Marcos Lucas
> Sent: Tuesday, November 11, 2008 8:33 PM
> To: l...
> Subject: Re: [lpc2000] LPC-2148 demo code version 1.43 available
> Hi Mike
> I am using "c:\WinARM\bin;c:\WinARM\utils\bin;" on environment
> variables, this is correct ?
>
> Marcos
>

Yes, that looks correct, but where in the path line is it? If it
is at the end that may be your problem. Remember, these are searched
in order, so if the other make utility is listed first, the system
will always find it first.

Mike
----- Original Message -----
From: "Michael Anton"
To:
Sent: Wednesday, November 12, 2008 3:16 AM
Subject: RE: [lpc2000] LPC-2148 demo code version 1.43 available
>
> It looks to me like you have another make utility earlier in your
> path environment variable list. Instead of picking up the WinARM
> make, it is picking up one written by Inprise. You could specify
> the absolute path to make when you call it like:
> 'C:\WinARM\utils\bin\make -f Makefile.winarm'
>
> Or, you could modify your path environment variable so that the
> winarm path is earlier in the list.

What I do is use a simple setup.bat file that I run from the WinARM
directory that just sets up the paths for the gcc arm-elf-gcc binaries and
make, and run that first.:

path=c:\winarm\bin;c:\winarm\utils\bin

Leon
----- Original Message -----
From: "Marcos Lucas"
To:
Sent: Wednesday, November 12, 2008 3:33 AM
Subject: Re: [lpc2000] LPC-2148 demo code version 1.43 available
Hi Mike
I am using "c:\WinARM\bin;c:\WinARM\utils\bin;" on environment
variables, this is correct ?
That's what I'm using.

Leon