In article <>,
says...
>
> On 7/5/2012 10:45 PM, wrote:
> > On 5 Jul., 17:44, Mike <mikedavies...@yahoo.com> wrote:
> >> Hi,
> >>
> >> I am hardening up on using Code Red 4 for my new STM32L15xx based
> >> project and I wondered if anyone here can tell me from experience
> >> whether they have had any issues or problems with this tool set ?
>
> why using a closed tool when there are free and open development tools
> available with an increasingly active community?
>
> >> From what I've seen so far it seems OK and they've been quitre
> >> responsive by email. Price is good so all I need is the gotcha list
> >> to make a decision :-)
>
> I was once used to program ADSP devices via VisualDSP IDE and I was
> 'happy' with it. At that time I was a mildly happy Windows user not
> knowing anything about POSIX systems. But then I learned the advantages
> and the freedom of using GNU/Linux and coming back to a closed
> environment is simply not possible now.
>
> Unless is a choice forced by some kind of partnership, I would never
> choose to limit my freedom and IMO even though a FOSS toolchain may not
> be the optimal solution for the target the overall benefit you get is huge.
What is that overall benefit? Better code generated more quickly?
I've used GCC-ARM, Codewarrior, and IAR EW-ARM. I didn't find that
GCC-ARM produced better code more quickly than the others.
>
> >
> > it's gcc, so I assume it is mostly a matter of the ide
>
> Can someone here explain what is the gain of an IDE?
IDEs are great at helping you generate complex make sequences without
the necessity of typing file names, make commands, and options WITHOUT
ERRORS. If I could type 100WPM without error and had memorized all the
library file names, and compile options, I probably would have less use
for an IDE.
> I have to say that I hardly manage to find something rational or logical
> behind the IDEs, starting from the concept of 'project' that nearly all
> of them have but none of them describe formally.
>
> IMO the power you have with a Makefile goes way beyond the fancy icons
> of an IDE, let alone that is far more portable and free from copyrights.
To quote Lord Acton:
"Power tends to corrupt, and absolute power corrupts absolutely."
Makefiles can get you in trouble as often as they get you out of it.
Some projects, such as building a linux distro, probably need the
flexibility of make files and the supporting linux tools. OTOH, many
embedded projects running on bare silicon, reduce to a make file of
perhaps 20 or 30 lines. For those, an IDE that allows you to pick the
processor, organize the libraries, stack, and heap, compile, link,
download and debug with a series of menu items can save quite a bit of
time in looking up and correctly typing file names and make commands.
IMHO, a good IDE is a distillation of hundreds of hours spend by good
programmers in distilling the essence of a programming environment down
to a series of GUI elements. If it's done properly, you should never
have to worry about misspelling a file name or generating a proper set
of options for the compiler. If it's done really well, you can override
any of the generated options and add you own.
At some point, you have to relenquish the power that you get from
writing your own make files, peripheral drivers, and libraries. People
who use IDEs just do so a little sooner in the hope that they can spend
more time on the problem, rather than on the process.
>
> My 2 cents.
My son is taking an upper-division Computer Science class on operating
systems. So far, the instructor has insisted that all problems be
solved using the Linux command-line interface. It seems that the
teaching of OS fundamentals hasn't changed much since I was a CS
instructor in the mid 80's. What do you want to bet that he and his
fellow students come out of that class thinking that writing your own
make files is the best way to program a computer? ;-)
Mark Borgerson