commit | f50578199cca79b73596672a4838640130d1aa8f | [log] [tgz] |
---|---|---|
author | Bhavik Patel <bhavik.patel@arm.com> | Thu Jul 16 22:36:02 2020 +0200 |
committer | Bhavik Patel <bhavik.patel@arm.com> | Fri Jul 17 16:36:27 2020 +0200 |
tree | 738f2fa547eb622ac927157b822efc2781f5ab03 | |
parent | dae5be07b76e5361593d8c2fa4717970c2a5fc19 [diff] |
MLBEDSW-2596 Add support to set driver log severity The driver can log at one of the following levels: 0=emerg, 1=alert, 2=crit, 3=err, 4=warning, 5=notice, 6=info, 7=debug. The logs at or below the set level are printed whereas the higher level logs are not printed. Change-Id: I05a498d4c8c78112207187d9dceaa2386b138c5d
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