User forums > Embedded development

ARM template

(1/2) > >>

electrolot:
I use svn 5231 of C::B. I'm trying to build ARM project. I see that this version have template for ARM Project. So I choose ARM project templates, next I select olimex-lpc213x and lpc2138. I've go following warnings:

--- Code: ---The wizard doesn't know how to setup warning flags for this compiler.
The wizard doesn't know how to setup debug flags for this compiler.
The wizard doesn't know how to setup optimisation flags for this compiler.

--- End code ---

I use Sourcery G++ Lite toolchain.
When I try build and I've got errors:

--- Code: ---default\src\vectors.o In function `warm_reset':
(.text+0x114)  undefined reference to `IrqInit'
default\src\vectors.o  In function `warm_reset':
(.text+0x140)  undefined reference to `_exit
||=== Build finished: 2 errors, 0 warnings ===
--- End code ---

Does someone successful use ARM template and can give me advice how fix this errors?
Thanks in advance.

mariocup:
Hi electrolot,

I wrote the ARM wizards and tested them with the ARM toolchain from HighTec (www.hightec-rt.com).  Since Sourcery G++ uses also the gcc, the wizards should work with this toolchain. What seems strange to me is the message:


--- Code: ---The wizard doesn't know how to setup warning flags for this compiler.

--- End code ---

I am using gcc 3.4.5 for ARM projects. I will try to test it with Sourcery and newer gcc versions but this may take some time.

Bye,

Mario

electrolot:
Hi Mario,

thanks for fast answer.
I'm using gcc version 4.2.3.

Regards
Elektrolot

MortenMacFly:

--- Quote from: mariocup on September 29, 2008, 05:18:15 pm ---
--- Code: ---The wizard doesn't know how to setup warning flags for this compiler.

--- End code ---

--- End quote ---
The reason for this is that we keep generic steps of the compiler setup (like setting the warning flag) in a common (library-like) script. Within this script you have to add the compiler in question if it supports a warning flag. I believe the compiler in question is just missing in the "if" clause there.

jeorama:
<The wizard doesn't know how to setup warning flags for this compiler.>

hi, can you explain more detail to solve this issue, I count up this issue too. thanks

Navigation

[0] Message Index

[#] Next page

Go to full version