commit | 25d78c0062908e91b4d0ae241600f4a077a19400 | [log] [tgz] |
---|---|---|
author | Per Åstrand <per.astrand@arm.com> | Tue Apr 21 14:19:44 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Mon May 11 07:12:51 2020 +0000 |
tree | 58e2c3441a6c24b4fe6a55bc7fa7f6084643d62a | |
parent | 537c71cb602871b9957eeb07bca4d5740a2e7eb4 [diff] |
MLBEDSW-1796 Refactor IRQ initialization Turn the IRQ initialization around, to have the application define the interrupt handler and expose the driver routine that is to be called when that happens. Change-Id: Idbfba1b1d1a1eaf6678ee16e9583c496eb2287ed
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