commit | 4e8dbf5da9c357a8d6903bfdd0ef475f2144575b | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Mon Jun 15 10:09:28 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Wed Jun 17 09:23:57 2020 +0200 |
tree | c5388e22aa54c5ef45b6cde49aaef7e5f286fca6 | |
parent | 60d50aed96d80a8f561c2e549b3b1b217e405e80 [diff] |
MLBEDSW-2373 Add APIs to configure PMCCNTR_CFG register Change-Id: I73c612746ca678d32d3dec3e1c5619ee1077c012
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