Skip to content

borrelunde/zephyr-cpp-synchronization-app-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zephyr C++ Synchronization Application Sample

This is a Zephyr C++ synchronization application sample based on a Zephyr Manifest Workspace Application project structure.

Getting Started

Before getting started, make sure you have a proper Zephyr development environment installed. Follow the official Zephyr Getting Started Guide.

Clone the repository to a folder of your liking:

git clone https://github.com/borrelunde/zephyr-cpp-synchronization-app-sample workspace-app-name

Enter the workspace, activate the West virtual environment and update Zephyr modules:

cd workspace-app-name

# Windows (default installation)
%USERPROFILE%\zephyrproject\.venv\Scripts\activate.bat

west update

This should take a while.

Building and Running

Open Command Prompt inside the workspace directory.

If not already activated, activate the West virtual environment. Change the path if yours is different:

# Windows (default installation)
%USERPROFILE%\zephyrproject\.venv\Scripts\activate.bat

Build the application. On the initial build, you must specify what board to build for. I build for the board nRF52840 Development Kit. Any supported board can be used instead:

west build -b nrf52840dk_nrf52840 application

Once you have built the application, flash it to the board:

west flash

About

Zephyr C++ synchronization sample manifest workspace application.

Topics

Resources

Stars

Watchers

Forks