Skip to content

Commit

Permalink
Merge pull request #173 from bitcraze/bldocs
Browse files Browse the repository at this point in the history
Getting started with development guide improvements
  • Loading branch information
gemenerik authored Aug 15, 2024
2 parents c6276d1 + b503a48 commit 4200799
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions src/documentation/tutorials/getting-started-with-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,37 @@ the Terminal menu and select "New Terminal" to get access to a `bash` terminal w
The build system for the Crazyflie firmware is based on `make`.

First navigate to the rootfolder of the crazyflie-firmware repository. Then you will need to create an default configuration file for the firmware:

{% tabgroup %}
{% tab Crazyflie 2.x %}
```
$ make cf2_defconfig
```
{% endtab %}
{% tab Crazyflie 2.1 Brushless %}
```
$ make cf21bl_defconfig
```
{% endtab %}
{% tab Crazyflie Bolt %}
```
$ make bolt_defconfig
```
{% endtab %}
{% endtabgroup %}

If you want to build firmware for a different platform, please checkout the [build instructions of the crazyflie-firmware.](/documentation/repository/crazyflie-firmware/master/building-and-flashing/build/#compiling)

Then you can start a build by issuing the following command in the terminal window in Visual Studio Code:
```
$ make
```
Or have the build go faster by using more cpu's
To speed up the build process, utilize all available processing units with:

```
$ make -j 12
$ make -j$(nproc)
```

To build the firmware. You should see something like the below on a successful build:
You should see something like the below on a successful build:
```
$ make
CLEAN_VERSION
Expand Down

0 comments on commit 4200799

Please sign in to comment.