Build a project

How to build a project in ChibiStudio

Introduction

A project in Eclipse is a collection of source files and metadata associated with a filesystem directory. Projects can be found in the Project Explorer. In this article, you will learn how to build a new project.

Step by Step Procedure

Open the project

  1. Right click the project’s name and select Open or
  2. Double click the project folder
Opening a project

The icon of an opened project will change from to . You can expand it and see its resources.

Build – Method 1

  1. Right-click on the project folder
  2. Select Build project
Method 1 for building a project

Build – Method 2

  1. Select the project folder
  2. Click on the hammer button
Method 2 for building a project

Check that the build was successful

A successful build will yield the console message shown below.

Console message on successful project build

Replies to How to build a project in ChibiStudio

  • I am getting the following error when building my first project:
    make: *** No rule to make target ‘../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk’. Stop. RT-STM32F767ZI-NUCLEO144 C/C++ Problem
    I am using ChibiosStudio 2023-02. Any suggestions would be appreciated.

    • Hi Robert, if the project is located in the workspace you need to amend the makefile.

      To do so you need to update the variable CHIBIOS in the makefile to point at were your chibios folder is in relationships to your makefile.

      E.g. CHIBIOS = ../../chibios2111

Leave a Reply