2009-09-18 04:43 PM
Open source tools for the STM32
2011-05-17 03:17 AM
Robert,
> 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. Michel2011-05-17 03:17 AM
''I would use Eclipse based tools only as a last resort and rather pay [more] for a faster, lighter IDE.''
Me too thats why I am trying to get Programmers Notepad 2 setup, and also Code::Blocks. Code::Blocks is also win+linux so thats nice. But my(lanchon) cs linker scripts are weird. My uart demo works, but my lcd one does not. Using the same source code compiled in Ride7(internal linkers) works. Same hw for both. lcd is a h44780. How on earth does anyone decipher linker scripts? Thanks.2011-05-17 03:17 AM
Seems no one knows?
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.2011-05-17 03:17 AM
Hi jmrobert5,
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,2011-05-17 03:17 AM
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:http://www.futurlec.com/STM32_Development_Board.shtml
Demo Package:http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html#stm32_memcard
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 ]2011-05-17 03:17 AM
openocd crashes? Which version, you know 0.4.0 is out, and they're doing a lot of work on it.
For the toolchain, binaries on codesourcery are an easy way. You just download, unpack, set path.2011-05-17 03:17 AM
Hi
Have a look at:
http://www.state-machine.com/arm/index.php
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.
Good luck.
Gawie
2011-05-17 03:17 AM
2011-05-17 03:17 AM
2011-05-17 03:17 AM
http://www.state-machine.com/arm/index.php
Ok, thanks. I didn't see that one yet.