commit | 92b84384a3c6841db5fea0cf268423e6fd252e90 | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Thu Apr 30 14:18:27 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Tue May 05 13:00:03 2020 +0200 |
tree | b62483a9226167100779e31fbcb12cfb7dc0d082 | |
parent | a9f38d506a5c56132c065384069ccf937b2334a6 [diff] |
MLBEDSW-2054 Add README.md Change-Id: I3cdf8f21ed58ace2f2c739748d788ec97fb4083a
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