EmbDev.net

Forum: ARM programming with GCC/GNU tools GCC example with STR710FZ2


von Fabian Braun (Guest)


Rate this post
useful
not useful
hi everybody

I'm using the hitex str7 evaluation board with a STR710FZ2 cpu and for
programming and debugging I got keil ulink jtage interface.
For getting started I made some project with Keil uVision3 and the
Keil-CARM compiler, this was working pretty well. The project used the
STR71X library from ST.
Today I wanted to switch my project to the GNU GCC compiler. I spent
several hours for this procedure but I never reached my goal.
First I had to recompile the ST's STR71X library for use with the GCC
compiler, this worked and I got my "libSTR71xLIB.a" library file.
Afterwards I tried to include the library into my project but I didn't
succeed - there were always some linker errors, so I tried to setup a
simple project with (programmers notepad - no keil uVision - only some
files and a Makefile), but how could it be even this didn't work!

Now my question to you: Could anyone of you supply me some example files
for the STR710FZ2 and the GNU GCC compiler? I'd just need a example
project with Makefile.  If I could get a Keil uVision project - prehaps
even with a precompiled STR71X library - I'd be more glad, but a simple
project with makefile wich I could compile using programmers notepad
(WinARM) would do it for the moment.

I only want to bring this f*§!#+?$ thing to work with the GCC.

Thanks for your help in advance

Regards,
Fab

von Clifford S. (clifford)


Rate this post
useful
not useful
Fabian Braun wrote:
> Now my question to you: Could anyone of you supply me some example files
> for the STR710FZ2 and the GNU GCC compiler?

It would probably be easier if you simply posted your build log in its
entirity. If you got linker errors, then the code must have compiled,
and because it attempted to link, it is not a makefile error. It would
be of greater benefit to you to fix your specific problem rather than
provide you with unrelated code and files that will probably not solve
your problem.

The issue is likley to be either with your library build or more likley
simply incorrect command line options. The build log will tell us
exactly what you did and what the errors were.

Clifford

von Martin Thomas (Guest)


Rate this post
useful
not useful
Fabian Braun wrote:

> Now my question to you: Could anyone of you supply me some example files
> for the STR710FZ2 and the GNU GCC compiler? I'd just need a example
> project with Makefile.  If I could get a Keil uVision project - prehaps
> even with a precompiled STR71X library - I'd be more glad, but a simple
> project with makefile wich I could compile using programmers notepad
> (WinARM) would do it for the moment.

Maybe the example "str712_uart_simple_20060406.zip" from
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/winarmtests/
gives an idea. I have not tested this with a hardware since I currently
do not own a board with a ST ARM but it compiles without problems (there
is a small readme included).

There is also a complete IDE for ST ARM available at
www.anglia-designs.com which uses the GNU-toolchain in the "background".
There are also STR7 examples for the GNU-Toolchain available from this
site.

Martin Thomas

von Fabian Braun (Guest)


Rate this post
useful
not useful
Hi folks

first of all, thanks for your help!
I already managed to bring it work thanks to an example application from
Anglia IDEaliST IDE (http://www.anglia.com/columbus/downloads.asp) and
some more hours of work! but surely will check out the
"str712_uart_simple_20060406.zip" to get the thing working perfectly!

Fab

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.