> I m not clear whether the OP is running his tools on Linux or Windows. I went to the download page. It is an exe file and I doubt that it is OS/2 so it must be windows. > I would use Eclipse based tools only as a last resort and rather pay > [more] for a faster, lighter IDE. You could use setedit, it is free. Michel
I found a good, basic example from a nice person who posted their complete package online. He/she was also nice enough to setup for Programmers Notepad2, Eclipse and some other IDEs. And he uses the STM peripheral lib with only 1-2 mods as it comes from STM (so easy updates).
His makefile needs study, as the source (my source) needs to move over to another subdir. But the compile and link works for my board. woohoo! My Board:
Compiler: CodeSourcery G++ Lite http://www.codesourcery.com/sgpp/lite/arm/portal/release830 Setup is simple, Install CodeSourcery. Install demo package. Use console and 'cs-make' to build. The nice part is editing defines for different boards/parts is easy. Updating the Stm-Periphery Library is easy. Projects for eclipse, programmers notepad are already present. Thanks to all the original authors for their hard work. motopic [ This message was edited by: jmrobert5 on 21-09-2009 15:39 ]
I´m using Stefano Oliveri's linker script. You'll be able to find more information about his project on his website: http://developers.stf12.net/eclipse-demo It is a demo porting the FreeRTOS to stm32. I did use the FreeRTOS stuff, but I used the linker script and init files and they worked just fine. One thing that must be noted. Things like adding and removing archives to be compiled at Makefile of his example project must be configured by the developer. Hope it helps. Cheers Brother,
I got the latest stm32 peripheral firmware and have been trying to build my lcd demo using it and the tips in the help file. I used the startup.s and have been tweaking the ld script to get it to build. It builds and links, but does not run. I think I need to examine and compare map files, and startups??? Another question is this: is lanchons approach the only one that works? Or is my simpler startup.s and a single ld script workable with the periphery firmware and C (not c++) ??? Does every single person use a commercial compiler? I cannot find anyone using gcc with simple configuration scripts and a makefile. All google searches point back to lanchons 2 year old setup. Thanks for reading.
Miro Samek list all the components of his ''carefully selected'' open source tools for ARM-Cortex. I haven't used it yet, but this would be my starting point.