Simple Hello World example for Arm V2M-MPS3 Board with Corstone SSE-300 Subsystem. The example can execute also on Arm Virtual Hardware (AVH) modeling the hardware. This example prints "Hello World" and a counter value via the standard output.
- CMSIS-Toolbox v2.0.0 or newer
- Microsoft Visual Studio Code with Keil Studio Pack extension (optional, alternatively CLI can be used)
- Arm Compiler 6 (automatically installed when using Visual Studio Code with vcpkg)
- Arm Virtual Hardware for Corstone-300 (when executing on a model)
Required tools described in file 'vcpkg-configuration.json' should be automatically installed by vcpkg. You can see the status of vcpkg in the status bar.
Required CMSIS packs need to be also installed. In case a required pack is missing, a notification window will pop-up to install the missing pack.
Open the 'CMSIS' view from the side bar, select desired 'Build Type' and press the 'Build' button.
Download required packs (not required when the packs are already available) by executing the following commands:
csolution list packs -s hello.csolution.yml -m >packs.txt
cpackget update-index
cpackget add -f packs.txt
Build the project by execute the following command:
cbuild hello.csolution.yml
Run the project by executing the following command:
VHT_MPS3_Corstone_SSE-300 -f vht_config.txt -a out/hello/V2M-MPS3-SSE-300-FVP/Debug/hello.axf --simlimit 20