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
7 files changed
tree: fd72f042482c2530c3c1e6dee053a11fa1a63aa6
  1. .clang-format
  2. CMakeLists.txt
  3. LICENSE.txt
  4. README.md
  5. include/
  6. src/
README.md

Ethos-u Core Driver

This repository contains a device driver for the Ethos-u NPU.

Building

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