Page 1 of 1

Getting started with ChibiOS and troubleshoooting

Posted: Fri Nov 18, 2016 11:50 am
by RoccoMarco
1. About this post
After some year spent on the ChibiOS Project, I have co-founded a blog with free articles about embedded. Currently, there are more than an author and even if I am the Editor-in-Chief, I am still writing article many of which are on ChibiOS and about how to getting started with it.

Giovanni has spent most of his spare time to write a book and some useful articles which are on the main website of ChibiOS.

My hunch is that not everyone is aware of these resources and the purpose of this post is to provide a quick index to all of them.

2. Getting started with ChibiOS
After some years I have decided to renew the oldest part of my blog which was dedicated to the topic "Getting started with ChibiOS".
I am currently writing detailed articles and I will update often this topic. By the way, articles have been organised to provide you with all the information step by step.

Here the list of articles:

  1. From 0 to STM32 an article which introduces STM32 and ARM architecture explaining also how to install STM32 related drivers.
  2. Developing on STM32: introducing ChibiStudio an article which explains how to set-up a ready-to-use Eclipse-based toolchain named ChibiStudio for the development on STM32. There is also information about some basic operations necessary for daily development.
  3. A close look to ChibiOS demos for STM32, to understand how default ChibiOS demos are structured and how to use and edit them for our purposes;
  4. Using STM32’s GPIO with ChibiOS’ PAL Driver, to understand how to deal with STM32 General Purpose IO through the ChibiOS PAL driver;
  5. Using STM32′ USART with ChibiOS Serial Driver, to understand how to deal with STM32 Universal Synchronous\Asynchronous Receiver Transmitter to implement an RS-232 using ChibiOS Serial driver.
  6. Using STM32’s ADC with ChibiOS ADC Driver, to understand how to deal with STM32 Analog to Digital Converter and convert the signal in sequence using ChibiOS ADC Driver.
  7. PWM in hardware with STM32 Timer and ChibiOS, to understand how to generate PWM signal using STM32 TIM.
  8. Using STM32 SPI with ChibiOS, to understand how to deal with Serial Peripheral Interface of the STM32 using ChibiOS SPI Driver.
  9. Using STM32 I2C with ChibiOS, to understand how to deal with Inter-Integrated Circuit bus of the STM32 using ChibiOS I2C Driver.

3. Most interesting topics
3.1 Problems related to ChibiStudio, setup, flash and run procedure

3.2 Practical examples
3.3 Problems with inclusion of library, editing of makefile
This post will be updated soon with a list of very common issues and related articles which could provide a solution or necessary knowledge to solve them

Re: Getting started with ChibiOS and troubleshoooting

Posted: Sat Jul 21, 2018 5:15 pm
by RoccoMarco
Updated on December 23, 2018 at 3:30 PM.