commit | c05c98831fda3cc1b6138f2a888ce01caebb9983 | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Wed Aug 05 11:46:52 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Tue Aug 11 16:15:09 2020 +0200 |
tree | 050d0d156654fed2bb4140e53e574eaf8e51adae | |
parent | 3c4391763b45c693e54b17b47e9bd65f0b3427c6 [diff] |
Set default log severity in headers Change-Id: Ia984092db29cc5f1294ecdcf5c2b6b744c6d32b2
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