GCC example with STR710FZ2

Guest #1171500
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
#1171501
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
Guest #1171502
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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.