ChibiStudio

Wide box Tiny box List
Ascent Descent

How to switch to the development version of ChibiOS

How to switch to the development version of ChibiOS

First time I started to deal with a software a little bit more complicated than the one used to print “Hello World”, I have encountered some words like “versioning”, “revision”, “diff”, “branch”, “trunk”, “checkout” and I heard about certain software like “svn”, “git”, “mercurial”.

Do you keep in mind when your friends knows something you don’t know and they continuously talk about that making you feel like a complete dumbass? Well that was my feeling! It is much simpler than how it seems: there are certain programs which purpose is to keep trace of every single character continue reading...

I am new with ChibiOS. Where do I start?

PLAY Embedded default featured image

We have written a lot of articles about this topic and they are all in the ChibiOS and STM32 getting started section. Our suggestion is to start trying to understand what you goals are. Independently from that there is always a basic path to follow to overcome the first step.

Gather information about ChibiOS. Some are provided in the article The ChibiOS project, others can be found on the ChibiOS official website and official forum. Set up a working environment to train yourself and understand how things works. This is eased for Windows users since ChibiOS releases continue reading...

Mikroe Clicker 2 for STM32 and STLink v2

Mikroe Clicker 2 for STM32 and STLink v2

In this tutorial we are going to see how to connect a STLink v2 debugger to a Clicker 2 for STM32 enabling users to do debugging which could be very useful in development phases. A debugger is a computer program which is used to test and debug another program usually named Target.

In embedded things are slightly different since the code is executed on an external MCU and it is required an interface Computer-MCU. In this case the Target is the MCU and a debugger is composed by the ensemble of a hardware and a software tool. Nonetheless, when the majority of people is continue reading...

A quick view of ChibiStudio

A quick view of ChibiStudio

We have said more than once that ChibiStudio is Eclipse based, therefore, should not surprise that project management is based on Eclipse rules. In Eclipse a C project is a folder containing basically a main.c, a makefile and two additional files used by eclipse to manage projects: .project and .cproject.

A ChibiOS based projects contains also three additional files:

chconf.h, containing configuration related to kernel. As example, here it is possible to configure system timing, enable/disable kernel features and enable/disable debug options; halconf.h, containing continue reading...

How to setup ChibiStudio

Setup of ChibiStudio

Following the video we will install ChibiStudio. Note that in what follows when we will say “ChibiOS” we will refer to ChibiOS/RT, the Real Time kernel.

In the tutorial related to ChibiOS we will use an STM32 Nucleo-64 F401RE and we suggest to use the same. This board belong to STM32 MCUs family and is one of the cheapest and well designed MCUs you can found today.

This board costs more or less 10$ and exhibit almost the highest performances you can found on MCU‘s market today. This board has indeed anSTM32F401RE: an ARM CORTEX-M4 MCU with clock frequency up to 84 MHz, continue reading...