Tag Archives: STM32

Arduino for STM32

In a previous post I explained how to getting started with STM32 with classical Eclipse or Keil environments. These environments are very cool for starting from scratch in designing firmware. That said, you have to recreate a lot of basic functions and libraries to create your firmware.

On the other hand, the Arduino community is proposing a lot a existing libraries and a development framework with a large number of supported features. The STM32 community looks active and that’s a good way to quickly create advanced firmware.

That said there is different point blocking in my point of view for using Arduino as a professional environment:

  • Outside of the core libs and some nice one, most of the lib are badly written
  • The official editor is a mess if you manage more than 3 files…
  • Writing libraries with official editor is… “impossible”

For this reason, in this tuto, I’ll use Visual Code Studio  to see if the 2 last point can be solved. Regarding the first point, there is nothing better than using well coded libraries and rewrite (and share) the badly written one.

Continue reading

Posted in Hardware | Tagged , , | 2 Comments

Getting started with Nucleo32 – STM32L031

I have this board in my stock since some months and never taken time to play with it. As I’m starting some developments with STM32 it’s time to do it. I’ve tried to do some stuff using it at reception but even if there is some kind of Arduino mentions on the package the start is not as easy as on Arduino. Not regarding coding (it is more complicated but it is not the problem) but regarding the development environment. You need to use different tools and find yourself the way to use each of them. In my point of view ST would do a good thing simplify all this stuff. So in this post I’ll describe how to get started by creating your first led blink project. Hope it will save your time.

Continue reading

Posted in Hardware | Tagged , , | Leave a comment