Go Down

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


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


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;





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...
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up