This repository contains a c2usb Zephyr example application.
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
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