Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed cmake build command #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- [How to use the project](#how-to-use-the-project)
- [Network setup](#network-setup)
- [MQTT usage](#mqtt-usage)
- [Disclaimer](#disclaimer)

## Overview
The system contains 2 MCUs an EFR32xG24 (aka host) and an EFR32BG22 antenna array (aka NCP).
Expand Down Expand Up @@ -60,9 +61,9 @@ Build system dependencies for ubuntu 22.04 lts systems:

### Build with CMAKE
Usage (most modern IDE will natively support this):
1. Go to the project directory and configure:
1. Go to the project directory (e.g. ./locator_host/) and configure:
```bash
cmake <project_name>_cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE:STRING=<build_type>
cmake <project_name>_cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE:STRING=<build_type> -DCMAKE_TOOLCHAIN_FILE:STRING=toolchain.cmake
```
`<project_name>` can be either `locator_host` or `locator_ncp`.
`<build_type>` can be `Debug` or `Release`.
Expand Down
Loading