This contains source code and a build system to develop HDC Tools Firmware with the Zephyr RTOS.
A bare git installation can be setup with the install script setup_zephyr.py
. This script will create a virtual environment, install west and other build dependencies.
Run python3 setup_zephyr.py
.
Activate the virtual environment using the shortcut.
source activate
Build an example project or Twinkie_v2
west build -p always -b nucleo_g474re sdk/zephyr/samples/basic/blinky
west build -p always -b google_twinkie_v2 sdk/zephyr/samples/boards/google_twinkie_v2_pda
west build -p always -b starfish_v1 starfish
sudo dfu-util -a 0 -s 0x8000000:leave -D build/zephyr/zephyr.bin