Go Down

Topic: Anyone dare to port arduino for STM32F4? (Read 1 time) previous topic - next topic

arunmag

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

drm0hr

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.

bubulindo

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.
This... is a hobby.

anees042

Hello All,

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

http://forums.leaflabs.com/topic.php?id=10456

https://github.com/AeroQuad/AeroQuad/tree/development/Libmaple/libmaple

http://uecide.org/

DrAzzy

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
ATtiny core for 841+1634+828  http://goo.gl/6fRf8e
ATtiny core for x4/x5/x61/x7/x8 series http://goo.gl/O5Wtyu
ATtiny 841/1634/828/88/861/167 breakouts, mosfets, touch sensors and prototyping board in my store http://goo.gl/xyUN2v

Go Up