KasperskyOS Community Edition 1.3
Starting programs in a basic solution image
If a program that you want to start uses file systems (via the VFS component), the following is required before starting the program:
- Use the menu to open the extension settings window: File → Preferences → Settings, then select Extensions → KasperskyOS.
- Set the
client:kl.VfsSdCardFs
value for theVFS_FILESYSTEM_BACKEND
environment variable in theApplication Environment Variables
parameter.
To start a program in a basic solution image:
- Open the program project directory in Visual Studio Code.
- Make sure that the project was correctly identified based on the appearance of additional extension buttons in the lower panel. If the buttons do not appear, manually activate the solution by running the command KOS: Activate extension in this directory.
- Make sure that the basic solution image is started according to the instructions provided in the Starting a basic KasperskyOS-based solution image section.
- Click the button for selecting the device or QEMU emulator
in the lower panel.
- Select the previously started basic solution image.
- Build the program according to the instructions provided in the Building a program in Visual Studio Code section.
- Make sure that the program has been packed into a KPA package.
You must use the
CMake
commands of the kpa library to pack a program into a KPA package. - Click the target selection button
. In the drop-down list, select the built program KPA package that is signed as
[application]
in the list. - Click the start button
. The program will be installed to the selected basic image and will automatically start.