How to setup ChibiStudio

Introduction

In this article we are going to see how to setup ChibiStudio, an Eclipse-based toolchain that conveniently helps to develop embedded firmware for different microcontroller families.

Step by Step Procedure

Get the latest version of ChibiStudio

ChibiStudio comes as a portable 7zip file that you can find on the Official page of ChibiStudio. This page contains two links to the latest version of it: one for Windows and one for for Linux.

In this article, we are going to install ChibiStudio for Windows 2022-01 but the user should always pick the latest version for his Operating System. Every update of ChibiStudio comes with a newer version of ChibiOS, Compiler and Debugger. Older versions of ChibiStudio, as well as a changelog can be found here.

Downlaod page of ChibiStudio

Extract the package

Once the package is downloaded, open it with 7zip. If you don’t have 7zip we recommend to download it for free from 7-zip.org as files may be corrupted using a different file archiver.

Once the archive is open:

  1. Select the folder ChibiStudio
  2. Click on Extract
  3. Choose C:\ as destination
  4. Press ok
Step by step extraction of ChibiStudio

It is very important to extract ChibiStudio in a way that it’s content is located exactly at C:\ChibiStudio otherwise the toolchain will not work.

ChibiStudio in the folder

Launch the toolchain

Copy the link Chibi Studio GCC x.x onto the desktop and double click on this link to launch the toolchain. The toolchain will start up and it should look as it does in the following picture. A few things to check at the first glance are:

  • The Project Explorer contains ChibiOS Tools and Documents
  • The bar title contains the version of ChibiStudio and ChibiOS in use as well as the location of the workspace
  • The toolchain starts with the perspectives C and Debug
How it looks ChibiStudio 2022-01 at the first Launch

Throubleshoot

My ChibiStudio looks very different from the picture above

Cause

It is probable that some files got corrupted or lost while extracting ChibiStudio. There are a few possible causes:

  • You are not using 7zip as package extractor
  • You extracted the package in a folder and then copied it under C: and some files got corrupted as their path became longer then 260 characters.
  • Your antivirus wrongly classified some of the files from ChibiStudio as potential threats and quarantined them.

Solution

Clean up the previously extracted folder and start over being sure to:

  • Use the latest version of 7zip
  • Extract directly under C:\
  • Configure your antivirus for an exception on ChibiStudio files

My ChibiStudio starts but I got errors when building projects

Cause

It is probable that you extracted ChibiStudio at the wrong path or that your antivirus blocked/quarantined the compiler executables.

Solution

Clean up the previously extracted folder and start over being sure to:

  • Use the latest version of 7zip
  • Extract directly under C:\
  • Configure your antivirus for an exception on ChibiStudio file

Be the first to reply at How to setup ChibiStudio

Leave a Reply