commit | 125429a1c089775b05d4d13739ee7fc72285079f | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Thu Aug 20 16:52:23 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Mon Aug 24 11:29:32 2020 +0200 |
tree | e24a0310ef37ac93ebd624d2eb31afb0e6f1cab0 | |
parent | e2e70241aa9bb11093222d07b83176ebafeddae1 [diff] |
Base pointer offset and soft reset Allow user to define a base pointer offset, if the CPU and the NPU have address spaces offseted from each other. Soft reset NPU before every inference. Added log prints. Change-Id: I98a746d20dc780fefa23ad68816f5ba2ba2e6c6e
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