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:

  1. Use the menu to open the extension settings window: FilePreferencesSettings, then select ExtensionsKasperskyOS.
  2. Set the client:kl.VfsSdCardFs value for the VFS_FILESYSTEM_BACKEND environment variable in the Application Environment Variables parameter.

To start a program in a basic solution image:

  1. Open the program project directory in Visual Studio Code.
  2. 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.
  3. Make sure that the basic solution image is started according to the instructions provided in the Starting a basic KasperskyOS-based solution image section.
  4. Click the button for selecting the device or QEMU emulator lower_panel_select_device in the lower panel.
  5. Select the previously started basic solution image.
  6. Build the program according to the instructions provided in the Building a program in Visual Studio Code section.
  7. 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.

  8. Click the target selection button lower_panel_select_target. In the drop-down list, select the built program KPA package that is signed as [application] in the list.
  9. Click the start button lower_panel_run. The program will be installed to the selected basic image and will automatically start.