commit | 537c71cb602871b9957eeb07bca4d5740a2e7eb4 | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Tue May 05 14:17:22 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Fri May 08 14:56:11 2020 +0200 |
tree | fd72f042482c2530c3c1e6dee053a11fa1a63aa6 | |
parent | 92b84384a3c6841db5fea0cf268423e6fd252e90 [diff] |
MLBEDSW-2194 Updating PMU files Moving PMU files from ethosu_pmu to include and src. Adding extern "C" to PMU header. Removing CMake generated file. Updating default path to CMSIS. Removing timing adapter. Change-Id: I4834c5361c14efe629c5cb36a17013d02cc765c8
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