commit | daa0d20f69a7aa382eef78ca2e8110c11ee11893 | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Tue May 12 12:23:16 2020 +0200 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Fri May 15 10:56:33 2020 +0200 |
tree | 5432e9507233780acd8d24f2539affc58816fb35 | |
parent | f6a85da549e9ba903acf3f0182f5c03226d2d59a [diff] |
Log updates Rename CMake log variable. Make logging default off. Remove CMake setting compile features. Remove FPGA flag around soft reset. Change-Id: Ia1f1c314ad19e9e05c59efe1a16d5670f6ec0f69
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