commit | ef387ea3cbff63e06d1d0808047b9f19adf244c9 | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Tue Aug 25 16:32:21 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Wed Aug 26 11:50:54 2020 +0200 |
tree | 731748dee197d39c356eaf6aa044d81de533b909 | |
parent | 9716b5e00c10b000067ca3ee1ad91fef4cccbb46 [diff] |
Save and restore PMU settings and counters Change-Id: I54a1927fef998bc97f5507f2de9faf7d4a7960f5
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