diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-02-25 09:49:34 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-02-25 14:38:59 +0100 |
commit | 715c07b06aa3462ceeef38b777e8526d3bffe472 (patch) | |
tree | d70433b2fb574adc20bd9cecfc1b3545cb6bcb7b /README.md | |
parent | 81e01af108cd006e0e12aacd2b2a0bb1a0ce8684 (diff) | |
download | ethos-u-core-platform-715c07b06aa3462ceeef38b777e8526d3bffe472.tar.gz |
Adding CTest script21.02
Adding script to run CTest on the Corstone-300 FVP. The script will
detect which version of the FVP that is used and pass the correct
command line arguments.
Updating README with instructions how to run tests, either using
CTest or calling the FVP directly.
Update FreeRTOS example to exit with the status of the inference.
Minor adjustments are needed to the output vectors.
Change-Id: I8a1a740b0dec2ce35d95e5c5d91f4b57a2c8e1fa
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -28,23 +28,32 @@ building. This will produce an elf file which can be run on the FVP. ``` $ cmake -B build/corstone-300 targets/corstone-300 -$ make -C build/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 -$ make -C build/corstone-300 +$ 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 binary can be tested like this. +the PATH variable. Then the software binaries can be tested like this. ``` -$ FVP_Corstone_SSE-300_Ethos-U55 build/corstone-300/ethosu_corstone_300.elf +$ 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 |