Available Commands

Setup & Configuration Commands

Note

These commands support both Zephyr and bare-metal CMake / SDK projects. The Workspace and Tools Setup wizard detects the project type from the selected source and adapts its steps accordingly. File Open Folder remains available as a fallback for opening an already-configured project that does not need new tools.

Table 1 Setup & Configuration Commands

Command

Description

onsemi: Workspace and Tools Setup

Open the interactive Workspace and Tools Setup panel (Zephyr or bare-metal CMake/SDK; project type is detected from the selected source)

onsemi: Import Application

Import sample applications from a configured SDK / Repository (multi-sample selection for both CMake / bare-metal SDK and Zephyr; Zephyr samples are paired with the selected board)

onsemi: Create New Application

Create a new application project from scratch or a sample template (Zephyr or bare-metal CMake/SDK)

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: Stop Task

Cancel the in-flight build / configure / clean / flash for the selected project (also available as an inline icon on the project node and from the Command Palette while a task is running)

onsemi: Project: Menuconfig

Run the menuconfig Kconfig editor (Zephyr projects, and CMake projects that expose a menuconfig target)

onsemi: Project: Guiconfig

Run the guiconfig Kconfig editor (Zephyr projects, and CMake projects that expose a guiconfig target)

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