Skip to main content
Version: Torizon OS 7.x.y

TorizonCore Builder VS Code Integration

Introduction​

info

The TorizonCore Builder template for Torizon 6 is currently in Early Access.

You can also use the TorizonCore Builder tool from within the Torizon VS Code Extension environment.

Requirements​

Create a new TorizonCore Builder Project​

Add a Device​

  1. Scan your network: Click the Torizon icon in the left menu bar to scan your local network for devices.

    caution

    The target device must be on the same network as the development machine.

    You can also rescan your network by clicking the Refresh Devices icon.

  2. Connect your target device: After the scan, expand the device entry and click Connect.

  3. Input the SoM's user and password: These credentials are the same you use for accessing your SoM from the command-line.

  4. Check if the connection was established: You can follow the progress in the footer of the VS Code window.

    After the connection, the device will be listed under CONNECTED DEVICES, and the footer will show the connection status.

Configure the .yaml File​

A minimal configuration file has to specify at least one input and one output. Below we assume that the input is a previously downloaded Toradex Easy Installer image that is stored in a directory called images relative to the working directory (set by the alias of the tool).

When downloading a Toradex Easy Installer image, be sure to download an image without evaluation containers, because the input image to be customized MUST NOT contain bundled container images. To download the image, go to the Toradex Download Links (Torizon, Linux BSP, WinCE and Partner Demos) article.

tcbuild.yaml
# Sample configuration file:
input:
easy-installer:
local: images/torizon-core-docker-colibri-imx6-Tezi_5.3.0+build.7.tar
output:
easy-installer:
local: torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM

The directory structure of such a "project" would look like this:

.
β”œβ”€β”€ images
β”‚ └── torizon-core-docker-colibri-imx6-Tezi_5.3.0+build.7.tar
└── tcbuild.yaml

Run the Task Commands​

  1. Run the tcb-build task.
  2. To test the new image
    1. Run tcb-deploy to deploy to your local device
    2. Run tcb-platform-push to push the image to the cloud platform


Send Feedback!