commit | dae5be07b76e5361593d8c2fa4717970c2a5fc19 | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Thu Jun 18 15:25:15 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Fri Jul 03 09:06:03 2020 +0200 |
tree | bf051793cce3899f249522a8449c40432f11ef4b | |
parent | 8e32b0b72be3b109a921bcb33778eb515d27ef70 [diff] |
MLBEDSW-2378 Set NPU base address in ethosu_init Change-Id: I1145834000ff81d6e497a8fa77bf997478a80372
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