I got few stm board. STM32F4 and f0. It is pain in my back to program it. Anyone have port or bootloader to stm chips. It would be powerfull if i can code arm cortex using arduino. Pls help. Cuz i am gonna sell my stm to get mega
I am not aware of any ports. The stm32f4 is ARM based just like the Arduino Due, but from a different manufacturer (i.e., not ATMEL). Therefore the SAM3X libraries in Arduino 1.5.x would need to be replaced, which would require a lot of work.
On the other hand, I have been having a lot of luck programming a stm32f4 discovery board using the GNU ARM toolchain (available at https://launchpad.net/gcc-arm-embedded) and the open source stlink software (at https://github.com/texane/stlink) to compile and flash my programs. While this is a bit more work, ST provides a lot of libraries and examples that show how to interact with the board's peripherals (e.g. i2c, spi, etc.). I have this all set up under Mac OS 10.7 but from what I can gather it is much easier to do under windows.
Have you looked at leaflabs.com?
Lots of people there working with that board and part of what is a very similar to Arduino libraries compiled for the F4 board. Mind you, it is not at the same level as the Arduino.
I know its too late to reply to this thread, but i am replying as some one like me will be looking for the same answere.
Please have a look at; https://github.com/rogerclarkmelbourne/Arduino_STM32
You do realize that instead of bumping a thread from august of 2013, you might want to take a look at the >120 page thread at the very top of this section dedicated to discussing Arduino on STM32 platforms... http://forum.arduino.cc/index.php?topic=265904.0