Additional Information#
The following tables provide VS Code extension related settings.
General#
Setting | Input | Used for | Experimental |
---|---|---|---|
Build before Flash | Boolean checkbox | If true, the project will build automatically before flashing the binary. | No |
Build before Debug | Boolean checkbox | If true, the project will build automatically before debug starts. | No |
Log Level | Dropdown menu with log levels | Set the log level for the extension. Logs are saved under (on Windows): <user_home>\AppData\Local\Temp\silabs_extension\vscode.log | No |
Show walkthrough | Boolean checkbox | If true walkthrough will be displayed every time the extension starts. | No |
Erase chip memory | Boolean checkbox | If true, chip memory will be erased every time before flash. | No |
Project paired to Studio | Map<String, String> | If multiple Simplicity Studio present in tools.json, with same version, this field maps project to Simplicity Studio which workspace contains the given project. | No |
Overwrite launch file | Boolean checkbox | If true, the launch.json in the .vscode folder will be overwritten every time debug is executed. | No |
Refresh CMake file before build | Boolean checkbox | If true, CMake project file will be updated before build is executed. | No |
Setting | Input | Used for | Experimental |
---|---|---|---|
V5 workspaces | Text array | All previously added V5 workspace folders. Can be edited by the User. | No |
Active V5 workspace | Text input | Path of V5 workspace that is currently in use. | No |
Appearance#
Setting | Input | Used for | Experimental |
---|---|---|---|
Device label elements | Multiple boolean checkbox | Compose device label to display. | No |
Board display | Boolean checkbox | If true, only boards with matching part are displayed for a given project. | No |
Device Discovery#
Setting | Input | Used for | Experimental |
---|---|---|---|
Select device type | Dropdown menu with different device types | Set displayed device type. - All: all device - Local device: Device connected to machine - Remote device: Device connected through network. | No |
Discovery interval | Number input | Time interval between two device lookup, in millisecond. | No |
Setting | Input | Used for | Experimental |
---|---|---|---|
Remote device timeout | Number input | Time that the extension looks for remote devices. | No |
Custom board settings: Interface | Dropdown menu with options | Debug interface type that the extension use when collecting information about connected boards. - SWD (default) - JTAG | |
Custom board settings: Device Name | Text input | Device name for custom board that used as fallback option when connecting to board. | No |
Custom board settings: Clock Speed | Number input | Debug adapter clock speed to help connect to custom boards. | No |
Overwrite IPs adapter | Text input | Discover more remote devices based on the IPs subnet configuration. - Individual IP address: 10.4.178.22 - Range of addresses: 10.4.178.20-29 - Subnet wildcard: 10.4.178. - Address with subnet mask: 10.4.178.0/255.255.255.0 | No |
STS Configurations#
Available command | Input | Used for | Experimental |
---|---|---|---|
Tool Suite Workspace Fetch Interval | number input | Simplicity Tool Suite workspace will be checked by this interval | Yes |
Available command | Input | Used for | Experimental |
---|---|---|---|
Tool Suite Installation Path | Text input | Simplicity Tool Suite install folder. By filling this setting STS related options will be available, after user connect to STS. User will be asked if he/she wants to connect to STS or nut upon extension start. | Yes |
Command Palette#
Silicon Labs extension commands that are available from the command palette. Some of the command will initiate one or more additional user input steps depends on the number of opened projects and the number of connected devices.
Command | Used for | Experimental |
---|---|---|
Silabs: Erase chip | Erase a selected device, if only one device is present it will be selected automatically and erased. | No |
Silabs: Clean | Clean a selected project - build configuration. | No |
Silabs: Unbrick Device | Recover a selected bricked device. | No |
Silabs: Add Simplicity Studio V5 workspace | Browse a Simplicity Studio workspace folder and add it to the workspaces list. | No |
Silabs: Select Simplicity Studio V5 workspace as active | Select a Simplicity Studio workspace from list and set it as active. | No |
Silabs: Open 04-Build-Configurator#build-configurator | Open build configurator for selected project. If only one project present it will be selected automatically. | No |
Silabs: Build | Build a selected project - build configuration. | No |
Silabs: Flash | Flash a selected binary to a selected, compatible, device. (For device compatibility, check settings) | No |
Silabs: Debug | Debug a selected project - build configuration on a selected device. | No |
Silabs: Set Simplicity Studio path | Set Simplicity Tool Suite Path. | Yes |