- CatPilot >
- Build and debug reference
Build and debug reference¶
CatPilot is based on CMake build system.
Building options¶
Options below customize build for your specific environment.
Option name |
Description |
Example |
---|---|---|
|
Board type. Supported options: |
|
|
Define port for CLI console. These options are available [ |
|
|
Define serial port baudrate for communication |
|
|
Enable system information monitoring code for threads, cpu load and available RAM. This option enables cli command |
|
Build example:
rm -r -f build
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBOARD=cube -DCLI_PORT=DBG -DCLI_BAUDRATE=57600 -DOS_MONITOR=ON
make uas-catpilot.elf
cd ..