Skip to content

Commands

Zephyr IDE provides the following commands accessible via the command palette (Ctrl+Shift+P or Cmd+Shift+P):

Setup and Workspace Management

  • Zephyr IDE: Workspace Setup - Open workspace setup picker
  • Zephyr IDE: Setup Workspace from Git - Clone and setup workspace from Git repository
  • Zephyr IDE: Setup West Workspace from Git - Clone and setup West workspace from Git
  • Zephyr IDE: Setup Workspace from Current Directory - Initialize current directory as workspace
  • Zephyr IDE: Setup Standard Workspace - Create new standard workspace
  • Zephyr IDE: Setup West Environment - Setup West environment
  • Zephyr IDE: West Init - Initialize West workspace
  • Zephyr IDE: West Update - Update West workspace
  • Zephyr IDE: West List - List west workspace modules
  • Zephyr IDE: West Config - Configure West settings
  • Zephyr IDE: Reset Workspace - Reset workspace configuration
  • Zephyr IDE: Open Setup Panel - Open the setup panel interface
  • Zephyr IDE: Create New West Workspace - Create new West workspace
  • Zephyr IDE: Refresh West Workspaces - Refresh workspace list
  • Zephyr IDE: Select Existing West Workspace - Select from existing workspaces
  • Zephyr IDE: Manage Workspace Installations - Manage workspace installations
  • Zephyr IDE: Mark West as Ready - Mark West workspace as ready
  • Zephyr IDE: Set Workspace Settings - Configure workspace settings
  • Zephyr IDE: Reset Zephyr Install Selection - Reset Zephyr installation selection
  • Zephyr IDE: Print Workspace Structure - Print workspace structure to console

Host Tools and SDK Management

  • Zephyr IDE: Host Tools Installation - Open host tools installation panel
  • Zephyr IDE: Install Host Tools - Install required host tools
  • Zephyr IDE: Setup Check Build Dependencies Available - Check build dependencies
  • Zephyr IDE: Install SDK - Install Zephyr SDK
  • Zephyr IDE: Reinitialize DTS Language Server - Reinitialize DTS language server

Project Management

  • Zephyr IDE: Add Project - Add existing project
  • Zephyr IDE: Create Project From Template - Create new project from template
  • Zephyr IDE: Remove Project - Remove project
  • Zephyr IDE: Set Active Project - Set active project
  • Zephyr IDE: Clear Projects - Clear all projects
  • Zephyr IDE: Load Projects From File - Load projects from zephyr-ide.json
  • Zephyr IDE: Save Projects To File - Save projects to zephyr-ide.json
  • Zephyr IDE: Add Project KConfig Files - Add KConfig files to project
  • Zephyr IDE: Remove Project KConfig Files - Remove KConfig files from project
  • Zephyr IDE: Add Project Overlay Files - Add overlay files to project
  • Zephyr IDE: Remove Project Overlay Files - Remove overlay files from project

Build Configuration Management

  • Zephyr IDE: Add Build Configuration - Add new build configuration
  • Zephyr IDE: Remove Build - Remove build configuration
  • Zephyr IDE: Set Active Build - Set active build configuration
  • Zephyr IDE: Add Build KConfig Files - Add KConfig files to build
  • Zephyr IDE: Remove Build KConfig Files - Remove KConfig files from build
  • Zephyr IDE: Add Build Overlay Files - Add overlay files to build
  • Zephyr IDE: Remove Build Overlay Files - Remove overlay files from build
  • Zephyr IDE: Modify Build Arguments - Modify build arguments

Runner Management

  • Zephyr IDE: Add Runner - Add runner to build configuration
  • Zephyr IDE: Remove Runner - Remove runner from build configuration
  • Zephyr IDE: Set Active Runner - Set active runner

Build and Flash Operations

  • Zephyr IDE: Build Pristine - Build with pristine flag (clean build)
  • Zephyr IDE: Build - Build active project
  • Zephyr IDE: Clean - Clean build artifacts
  • Zephyr IDE: Flash - Flash build to target device

Debug Operations

  • Zephyr IDE: Debug - Start debugging session
  • Zephyr IDE: Debug Attach - Attach debugger to running target
  • Zephyr IDE: Build and Debug - Build and start debugging
  • Zephyr IDE: Change Debug Launch Configuration For Build - Change debug launch configuration
  • Zephyr IDE: Change Build and Debug Launch Configuration For Build - Change build and debug launch configuration
  • Zephyr IDE: Change Debug Attach Launch Configuration For Build - Change debug attach launch configuration

Configuration and Analysis Tools

  • Zephyr IDE: Start Menu Config - Start Kconfig menu configuration
  • Zephyr IDE: Start GUI Config - Start Kconfig GUI configuration
  • Zephyr IDE: Run ROM Report - Generate ROM usage report
  • Zephyr IDE: Run RAM Report - Generate RAM usage report
  • Zephyr IDE: Start DTSh Shell - Start devicetree shell

Testing with Twister

  • Zephyr IDE: Add Twister Test to Project - Add Twister test
  • Zephyr IDE: Remove Twister Test from Project - Remove Twister test
  • Zephyr IDE: Set Active Test - Set active test
  • Zephyr IDE: Run Test - Run Twister test
  • Zephyr IDE: Reconfigure Active Test - Reconfigure active test
  • Zephyr IDE: Delete Test Output Directories - Delete test output directories

Automatic Project Targeting

  • Zephyr IDE: Enable Automatic Active Project Targeting - Enable automatic project targeting based on active file
  • Zephyr IDE: Disable Automatic Active Project Targeting - Disable automatic project targeting

Utility Commands

  • Zephyr IDE: Show View Container - Show Zephyr IDE view container
  • Zephyr IDE: Reload Web Views - Reload web view panels
  • Zephyr IDE: Debug Internal Shell - Debug internal shell
  • Zephyr IDE: Shell Test - Test shell functionality
  • Zephyr IDE: Print Python Interpreter Path - Print the Python interpreter path for the active workspace

Launch Configuration Helpers

The following commands are used in launch.json to dynamically retrieve project and build information. See Launch Configuration Helpers for detailed usage.

  • Zephyr IDE: Get Active Project Name - Get the name of the currently active project
  • Zephyr IDE: Get Active Project Path - Get the file system path to the currently active project
  • Zephyr IDE: Get Active Build Path - Get the build directory path for the active build configuration
  • Zephyr IDE: Get Active Build Board Path - Get the board directory path for the active build
  • Zephyr IDE: Get Active Board Name - Get the board name for the active build configuration
  • Zephyr IDE: Select Active Build Path - Prompt the user to select a build configuration and return its path
  • Zephyr IDE: Get GDB Path - Get the GDB path (CMAKE_GDB) for the active build
  • Zephyr IDE: Get ARM GDB Path - Get the ARM GDB path (without Python support) for the active build
  • Zephyr IDE: Get Toolchain Path - Get the toolchain directory path for the active build
  • Zephyr IDE: Get Zephyr Directory - Get the Zephyr source directory path
  • Zephyr IDE: Get Zephyr ELF Path - Get the full path to the kernel ELF file for the active build
  • Zephyr IDE: Get Zephyr ELF Directory - Get the directory containing the kernel ELF file for the active build
  • Zephyr IDE: Get Zephyr IDE JSON Variable - Get a variable value from the zephyr-ide.json file
  • Zephyr IDE: Get Active Project Variable - Get a custom variable from the active project’s vars section
  • Zephyr IDE: Get Active Build Variable - Get a custom variable from the active build’s vars section