[Core Platform] Update to support removal of "_v"-functions

NPU driver interface currently have functions which have been stepped
each time a compatibilty breaking changed has been introduced. Old
entrypoints have been redefined with macro to use the latest version
for backwards compatibility.  This series of patches will remove any
such functions and macro to unify the interface.

Update: All driver entrypoints to support updated interface

Change-Id: Ibe5fa7b2ac909eceb16a6879d4eaf9d0d7e36211
2 files changed
tree: e3fec76b321e18aca70163587da89c7bd15484a5
  1. .clang-format
  2. .gitignore
  3. LICENSE.txt
  4. README.md
  5. SECURITY.md
  6. applications/
  7. cmake/
  8. scripts/
  9. targets/
README.md

Arm(R) Ethos(TM)-U core platform

Arm(R) Ethos(TM)-U core platform is provided as an example of how to produce a firmware binary for a given target platform. This software is primarily intended for guidance, to demonstrate how to boot up a firmware binary and how to run an inference on an Arm Ethos-U compatible platform.

This repository contains target specific files, like linker scripts. Target agnostic software components are provided in the core_software repository.

Targets

Arm(R) Corstone(TM)-300

The Arm(R) Corstone(TM)-300 is a reference design of how to to build a secure System on Chip (SoC). A fixed virtual platform (FVP) of the Arm Corstone-300 including the Arm Ethos-U can be downloaded from the Ecosystem page at developer.arm.com.

Building

Building with default settings requires CMake for the configuration and make for building. This will produce an elf file which can be run on the FVP.

$ cmake -B build/corstone-300 targets/corstone-300
$ cd build/corstone-300
$ make

It is also possible to build with a different toolchain.

$ cmake -B build/corstone-300 targets/corstone-300 -DCMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchain/arm-none-eabi-gcc.cmake
$ cd build/corstone-300
$ make

Testing

Assuming that the Corstone-300 FVP has been downloaded, installed and placed in the PATH variable. Then the software binaries can be tested like this.

$ ctest

Individual applications can also be run directly with the FVP, for example like this.

$ FVP_Corstone_SSE-300_Ethos-U55 applications/freertos/freertos.elf

License

The Arm Ethos-U core platform is provided under an Apache-2.0 license. Please see LICENSE.txt for more information.

Contributions

The Arm Ethos-U project welcomes contributions under the Apache-2.0 license.

Before we can accept your contribution, you need to certify its origin and give us your permission. For this process we use the Developer Certificate of Origin (DCO) V1.1 (https://developercertificate.org).

To indicate that you agree to the terms of the DCO, you "sign off" your contribution by adding a line with your name and e-mail address to every git commit message. You must use your real name, no pseudonyms or anonymous contributions are accepted. If there are more than one contributor, everyone adds their name and e-mail to the commit message.

Author: John Doe \<john.doe@example.org\>
Date:   Mon Feb 29 12:12:12 2016 +0000

Title of the commit

Short description of the change.
   
Signed-off-by: John Doe john.doe@example.org
Signed-off-by: Foo Bar foo.bar@example.org

The contributions will be code reviewed by Arm before they can be accepted into the repository.

Security

Please see Security.

Trademark notice

Arm, Cortex, Corstone and Ethos are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.