commit | bf7ae6313fbbc024ecf3c1177f007a8152c36b73 | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Thu Jun 11 21:00:16 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Fri Jun 12 09:52:25 2020 +0200 |
tree | d924df16e0c12b7e2a49a9d6350463088c2f5620 | |
parent | 790ef36ae09f421f17c7a7aa3ae055894a8397fc [diff] |
Move command stream and base address alignment checks Moving the alignment checks for command stream and base addresses to handle_command_stream(). This is done so that applications which directly call ethosu_run_command_stream(), and don't have command stream & base addresses properly aligned can still run the command stream. Change-Id: Ie02e9952af027e3017e53ea7217698a33a33b418
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