From b503a48afb6dfed0f3db3db6e563940ecf768ec2 Mon Sep 17 00:00:00 2001 From: Rik Bouwmeester Date: Tue, 6 Aug 2024 14:05:29 +0200 Subject: [PATCH] Getting started with development guide improvements - Add brushless and bolt default config tabs - Retrieve rather than assuming 12 processing units. --- .../getting-started-with-development.md | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/documentation/tutorials/getting-started-with-development.md b/src/documentation/tutorials/getting-started-with-development.md index 00c175f4..924a8f3d 100644 --- a/src/documentation/tutorials/getting-started-with-development.md +++ b/src/documentation/tutorials/getting-started-with-development.md @@ -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