commit | 5da4092d07c31acaa3d44ac57fa3b02a3be67182 | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Wed Jul 15 10:06:43 2020 +0200 |
committer | tim.hall <tim.hall@arm.com> | Wed Jul 22 12:21:58 2020 +0000 |
tree | 04b9a3a61d81fe6ad599bfa55b47315b87fe6ec9 | |
parent | f50578199cca79b73596672a4838640130d1aa8f [diff] |
MLBEDSW-2594 Initialize the Ethos-U before every job This includes resetting the Ethos-U and restoring the previosuly saved PMU configuration (if any). Change-Id: Id952fb6fef513468952b6a469e857510f8c0214c
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