commit | 790ef36ae09f421f17c7a7aa3ae055894a8397fc | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Wed Jun 03 10:05:28 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Fri Jun 05 14:48:41 2020 +0200 |
tree | df78329be83b5986560f80d452891b2a080f70e4 | |
parent | b64628f0aa412ae962e0398bf8c85271f19fb117 [diff] |
MLBEDSW-2272 Reenable the version checker for optimizer config Also check that the command stream address and base address are aligned to 16 bytes. Return error in case they are not correctly aligned. Change-Id: I786d03f403d02d601ee74c53d2dede85b2b0e8a0
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