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 pickerZephyr IDE: Setup Workspace from Git- Clone and setup workspace from Git repositoryZephyr IDE: Setup West Workspace from Git- Clone and setup West workspace from GitZephyr IDE: Setup Workspace from Current Directory- Initialize current directory as workspaceZephyr IDE: Setup Standard Workspace- Create new standard workspaceZephyr IDE: Setup West Environment- Setup West environmentZephyr IDE: West Init- Initialize West workspaceZephyr IDE: West Update- Update West workspaceZephyr IDE: West List- List west workspace modulesZephyr IDE: West Config- Configure West settingsZephyr IDE: Reset Workspace- Reset workspace configurationZephyr IDE: Open Setup Panel- Open the setup panel interfaceZephyr IDE: Create New West Workspace- Create new West workspaceZephyr IDE: Refresh West Workspaces- Refresh workspace listZephyr IDE: Select Existing West Workspace- Select from existing workspacesZephyr IDE: Manage Workspace Installations- Manage workspace installationsZephyr IDE: Mark West as Ready- Mark West workspace as readyZephyr IDE: Set Workspace Settings- Configure workspace settingsZephyr IDE: Reset Zephyr Install Selection- Reset Zephyr installation selectionZephyr IDE: Print Workspace Structure- Print workspace structure to console
Host Tools and SDK Management
Zephyr IDE: Host Tools Installation- Open host tools installation panelZephyr IDE: Install Host Tools- Install required host toolsZephyr IDE: Setup Check Build Dependencies Available- Check build dependenciesZephyr IDE: Install SDK- Install Zephyr SDKZephyr IDE: Reinitialize DTS Language Server- Reinitialize DTS language server
Project Management
Zephyr IDE: Add Project- Add existing projectZephyr IDE: Create Project From Template- Create new project from templateZephyr IDE: Remove Project- Remove projectZephyr IDE: Set Active Project- Set active projectZephyr IDE: Clear Projects- Clear all projectsZephyr IDE: Load Projects From File- Load projects from zephyr-ide.jsonZephyr IDE: Save Projects To File- Save projects to zephyr-ide.jsonZephyr IDE: Add Project KConfig Files- Add KConfig files to projectZephyr IDE: Remove Project KConfig Files- Remove KConfig files from projectZephyr IDE: Add Project Overlay Files- Add overlay files to projectZephyr IDE: Remove Project Overlay Files- Remove overlay files from project
Build Configuration Management
Zephyr IDE: Add Build Configuration- Add new build configurationZephyr IDE: Remove Build- Remove build configurationZephyr IDE: Set Active Build- Set active build configurationZephyr IDE: Add Build KConfig Files- Add KConfig files to buildZephyr IDE: Remove Build KConfig Files- Remove KConfig files from buildZephyr IDE: Add Build Overlay Files- Add overlay files to buildZephyr IDE: Remove Build Overlay Files- Remove overlay files from buildZephyr IDE: Modify Build Arguments- Modify build arguments
Runner Management
Zephyr IDE: Add Runner- Add runner to build configurationZephyr IDE: Remove Runner- Remove runner from build configurationZephyr 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 projectZephyr IDE: Clean- Clean build artifactsZephyr IDE: Flash- Flash build to target device
Debug Operations
Zephyr IDE: Debug- Start debugging sessionZephyr IDE: Debug Attach- Attach debugger to running targetZephyr IDE: Build and Debug- Build and start debuggingZephyr IDE: Change Debug Launch Configuration For Build- Change debug launch configurationZephyr IDE: Change Build and Debug Launch Configuration For Build- Change build and debug launch configurationZephyr 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 configurationZephyr IDE: Start GUI Config- Start Kconfig GUI configurationZephyr IDE: Run ROM Report- Generate ROM usage reportZephyr IDE: Run RAM Report- Generate RAM usage reportZephyr IDE: Start DTSh Shell- Start devicetree shell
Testing with Twister
Zephyr IDE: Add Twister Test to Project- Add Twister testZephyr IDE: Remove Twister Test from Project- Remove Twister testZephyr IDE: Set Active Test- Set active testZephyr IDE: Run Test- Run Twister testZephyr IDE: Reconfigure Active Test- Reconfigure active testZephyr 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 fileZephyr IDE: Disable Automatic Active Project Targeting- Disable automatic project targeting
Utility Commands
Zephyr IDE: Show View Container- Show Zephyr IDE view containerZephyr IDE: Reload Web Views- Reload web view panelsZephyr IDE: Debug Internal Shell- Debug internal shellZephyr IDE: Shell Test- Test shell functionalityZephyr 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 projectZephyr IDE: Get Active Project Path- Get the file system path to the currently active projectZephyr IDE: Get Active Build Path- Get the build directory path for the active build configurationZephyr IDE: Get Active Build Board Path- Get the board directory path for the active buildZephyr IDE: Get Active Board Name- Get the board name for the active build configurationZephyr IDE: Select Active Build Path- Prompt the user to select a build configuration and return its pathZephyr IDE: Get GDB Path- Get the GDB path (CMAKE_GDB) for the active buildZephyr IDE: Get ARM GDB Path- Get the ARM GDB path (without Python support) for the active buildZephyr IDE: Get Toolchain Path- Get the toolchain directory path for the active buildZephyr IDE: Get Zephyr Directory- Get the Zephyr source directory pathZephyr IDE: Get Zephyr ELF Path- Get the full path to the kernel ELF file for the active buildZephyr IDE: Get Zephyr ELF Directory- Get the directory containing the kernel ELF file for the active buildZephyr IDE: Get Zephyr IDE JSON Variable- Get a variable value from the zephyr-ide.json fileZephyr IDE: Get Active Project Variable- Get a custom variable from the active project’svarssectionZephyr IDE: Get Active Build Variable- Get a custom variable from the active build’svarssection