- Install
zephyrfollowing this page.- In theory, only
westis needed. The other contents (including zephyr) will be cloned into the project bywest. - To use
west, each shell needs$ source ~/zephyrproject/.venv/bin/activate.
- In theory, only
- Clone this git repo locally:
mkdir -p ~/MyProjects cd ~/MyProjects west init -m https://github.com/jeru/blue-cat blue-cat-west-ws cd blue-cat-west-ws west update
- For the blue-cat module:
cd blue-cat/apps/blue_cat west build -b blue_cat .
- For the blue-cat module:
cd blue-cat/apps/chihuahua west build -b chihuahua .
- nRF52840 dongle accessibility by the
nRF Connect Desktop BLE app(since I never got any luck onnRF Connect Moiblewhen setting up the advertising): NordicSemi has a packet for theudevrules. Install it.
For the blue-cat module (after setting up the SWO messages in the codelab):
apps/blue_cat$ west flash && west view-swoFor the chihuahua module:
apps/chihuahua$ west flash && west espressif monitorMajor reason to write these codelabs: a way for the future "me" to resume the project after things are forgotten.
- Blink an nRF52840 module.
west flashand SWO messages.- Connection of the nRF52840 module.
- Blink an ESP32C3 module.
- Connection of the ESP32C3 module (as central) is similar to the other (as peripheral), major difference being switching advertising to scanning.