Available Commands

Setup & Configuration Commands

Note

These commands are designed for Zephyr projects only. For CMake projects, use File Open Folder to open your project.

Table 1 Setup & Configuration Commands

Command

Description

onsemi: Workspace and Tools Setup

Open the interactive workspace and tools setup panel (Zephyr)

onsemi: Import Application

Import a sample application from a repository (Zephyr)

onsemi: Create New Application

Create a new application project (Zephyr)

Project Commands

Note

These commands are not available through the Command Palette. Access them via context menus in the Explorer or onsemi Studio Activity Bar.

Table 2 Project Commands

Command

Description

onsemi: Project: Build

Build the selected or active project

onsemi: Project: Clean

Clean build artifacts

onsemi: Project: Rebuild

Clean and rebuild project

onsemi: Project: Configure

Configure CMake project (bare-metal CMake projects only)

onsemi: Project: Flash

Flash firmware to device (Zephyr)

onsemi: Project: Debug

Start debugging session with active ELF file

onsemi: Project: Menuconfig

Open Kconfig menuconfig editor (Zephyr)

onsemi: Project: Guiconfig

Open Kconfig GUI editor (Zephyr)

onsemi: Project: RAM Report

Generate RAM usage report (Zephyr)

onsemi: Project: ROM Report

Generate ROM usage report (Zephyr)

onsemi: Project: Select Active ELF

Select the active ELF file for debugging

onsemi: Project: Clear Active ELF

Clear the currently active ELF file

onsemi: Project: Rescan ELFs

Rescan project for available ELF files

onsemi: Project: Open Terminal

Open integrated terminal with project environment

West Commands (Zephyr)

Table 3 West Commands (Zephyr)

Command

Description

onsemi: West: Set Repository Path

Set the Zephyr repository path

onsemi: West: Initialize Workspace

Initialize a new West workspace

onsemi: West: Update Workspace

Update West workspace dependencies

onsemi: West: List Boards

Display available Zephyr boards

onsemi: West: List Shields

Display available Zephyr shields

onsemi: West: Setup Python Environment

Setup Python virtual environment

onsemi: West: Install Python Packages

Install required Python packages

IntelliSense Commands

Table 4 IntelliSense Commands

Command

Description

onsemi: IntelliSense: Switch Provider

Switch between clangd and Microsoft C/C++

onsemi: IntelliSense: Regenerate clangd Configuration

Regenerate .clangd config file

onsemi: IntelliSense: Refresh configuration

Refresh IntelliSense configuration from build info