commit | 9716b5e00c10b000067ca3ee1ad91fef4cccbb46 | [log] [tgz] |
---|---|---|
author | Per Åstrand <per.astrand@arm.com> | Wed Aug 19 13:15:06 2020 +0200 |
committer | Per Åstrand <per.astrand@arm.com> | Tue Aug 25 10:48:10 2020 +0200 |
tree | c72bb8d954c2b941cca3218f8d79dea572764a02 | |
parent | 125429a1c089775b05d4d13739ee7fc72285079f [diff] |
zero initialize stack allocated register structs Avoid writing unintentional bits when using stack allocated register structs. Change-Id: I427f8449f15a8118883cfd7214aabe30dd6372d6
This repository contains a device driver for the Ethos-u NPU.
The source code comes with a CMake based build system. The driver is expeced to be cross compiled for any of the supported Arm Cortex-m CPUs, which will require the user to setup a custom toolchain file.
The user is also required to define CMAKE_SYSTEM_PROCESSOR
for the target CPU, for example cortex-m55+nodsp+nofp. This can be done either in the toolchain file or on the command line.
$ mkdir build $ cd build $ cmake .. -DCMAKE_TOOLCHAIN_FILE=<toolchain> -DCMAKE_SYSTEM_PROCESSOR=cortex-m<nr><features> $ make