commit | 60d50aed96d80a8f561c2e549b3b1b217e405e80 | [log] [tgz] |
---|---|---|
author | Douglas Troha <douglas.troha@arm.com> | Mon Jun 15 12:48:10 2020 +0200 |
committer | Douglas Troha <douglas.troha@arm.com> | Tue Jun 16 13:43:55 2020 +0200 |
tree | bbc3928d95baf967d6765f5f00a8913dbe382043 | |
parent | bf7ae6313fbbc024ecf3c1177f007a8152c36b73 [diff] |
Allow differing arch patch versions * Arch patch versions should be backward compatible Signed-off-by: Douglas Troha <douglas.troha@arm.com> Change-Id: I1b0d292d0885af90d5b39f2239e020af9181008b
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