This section explains how Arm Fixed Virtual Platforms (FVP) can be used with Keil Studio for VS Code (MDK v6) for developing and debugging embedded applications on a local computer.
Keil Studio natively supports the Open-CMSIS-Pack format for device support and management of software components. See CMSIS-based projects for AVH FVPs for the list of the device family packs and BSP packs required for use with AVH FVPs.
You can view the device name defined for the target in the project csolution.yml file, or by clicking the Manage solution settings button in the CMSIS view, as shown on the image below. Set a context for your solution explains the concept in details.
Keil Studio relies on Arm Environment Manager extension to setup development environment from Arm Tools Artifactory using Microsoft vcpkg. The vcpkg manifest file vcpkg_configuration.json
shall contain the requirement for AVH FVPs models, in the same way as explained in Download with vcpkg. For example:
Note that in Keil Studio also other artifacts are usually present for build and debug tasks such as cmsis-toolbox, compiler toolchain, and others.
Follow the instructions provided in the Build the example project in the Arm Keil Studio for VS Code User's Guide.
In Keil Studio you can run a program on the target without using the debugger. See Run the solution for steps how to configure corresponding task for AVH FVPs.
To be able to debug your program, you must create a corresponding launch configuration, as explained in Debug the solution.