Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 762 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 762 Bytes

c2usb Zephyr Example Application

This repository contains a c2usb Zephyr example application.

Initialization

The first step is to initialize the workspace folder (my-workspace) where the usb-keyboard and all Zephyr modules will be cloned. Run the following command:

# initialize my-workspace for the usb-keyboard (main branch)
west init -m https://github.com/IntergatedCircuits/c2usb-zephyr-examples my-workspace
# update Zephyr modules
cd my-workspace
west update

Building and running

To build the application, run the following command:

cd c2usb-zephyr-examples
west build -b nrf52840dk/nrf52840 usb-keyboard

Once you have built the application, run the following command to flash it:

west flash