commit | 747c873606c34fb45bef36b525bdc7929d5e362a | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Mon Jul 27 17:22:44 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Wed Aug 12 14:13:31 2020 +0200 |
tree | 1fed42cf97ce53a6a64962a518c12daf739c2f7a | |
parent | c05c98831fda3cc1b6138f2a888ce01caebb9983 [diff] |
Add install target in the cmake script Change-Id: I44d6220ac488d2e67c0b6a8b005c8da0b9a67011
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