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:
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.
I use Sourcery G++ Lite toolchain.
When I try build and I've got errors:
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 ===
Does someone successful use ARM template and can give me advice how fix this errors?
Thanks in advance.
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:
The wizard doesn't know how to setup warning flags for this compiler.
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