This repository contains a simple Hello World example for Arm Virtual Hardware.
Example name | Description |
---|---|
Hello VSI | A sample of using the Virtual Streaming Interface on AVH. Data is streamed to the application via the python interface.There are different versions such as GUI version and gated fetch for various use cases. |
Follow the Infrastructure documentation on how to setup AVH on the cloud or locally.
In order to build applications for Arm Corstone-310, you need to use the ult
tool variant. This is not necessary for Corstone-300 applications.
Change the tool variant by setting the following environment variable on the cloud or local build environment:
export ARM_TOOL_VARIANT='ult'
To make this permanent, you can add the line to your ~/.bashrc
file.
-
Clone this project using git.
git clone https://github.com/Arm-Examples/Hello_AVH.git
-
Enter the application dir
cd Hello_AVH/<example>
-
Update the keil packs index
cpackget update-index
-
Build the application
- Build with CMSIS Toolbox v1.3 or early
cbuild --packs target/<platform>/<application>.cprj
- Build with CMSIS Toolbox v1.4 or later
cbuild --packs --update-rte target/<platform>/<application>.cprj
You can run
cbuild --version
to check CMSIS Toolbox version - Build with CMSIS Toolbox v1.3 or early
./run_example.sh
If you experience the following error:
M654: Package '<vendor>::<package>@<version>' was added to the list of missing packages.
error cbuild: missing packs must be installed, rerun cbuild with the --packs option
Use the following command to manually install the missing pack(s).
Note: replace <vendor>
, <package>
and <version>
with the corresponding information from the error message.
cpackget pack add https://www.keil.com/pack/<vendor>.<package>.<version>.pack -a
Version | Date | Release notes |
---|---|---|
v0.0.1 | 2023.3.13 | Arm VSI demo for Arm Virtual Hardware. |
v0.0.1b | 2023.3.29 | Minor fix for v0.0.1 |
v0.0.1c | 2023.4.12 | Minor fix for v0.0.1b |