Zephyr DAPLink Validation
Follow the Zephyr Getting Started Guide to setup the build environment. This project is tested using the GNU Arm Embedded Toolchain, you can also look at the relevant section in Zephyr documentation.
- Install the toolchain.
- Set
ZEPHYR_TOOLCHAIN_VARIANT
tognuarmemb
, andGNUARMEMB_TOOLCHAIN_PATH
to the toolchain installation directory. Path shall have no whitespace, GNU version 10.x recommended (GNU Arm Embedded Toolchain).export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb export GNUARMEMB_TOOLCHAIN_PATH=/usr/local/gcc-arm-embedded/10.3-2021.07
$ virtualenv venv
$ source venv/Scripts/activate
$ mkdir zdv-workspace
$ cd zdv-workspace
$ export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
$ export GNUARMEMB_TOOLCHAIN_PATH=C:/gnu_embedded/10_2021_10
$ west init -m https://github.com/H4w4k4/zdv
$ west update
$ pip3 install -r zephyr/scripts/requirements.txt
$ make -f zdv/build.mk
- Frank Duignan helped this project get started. See his Zephyr OS examples for BBC micro:bit v2.