Zephyr Studio
A VS Code extension for Zephyr RTOS development with a setup wizard, project scaffolding, build and flash actions, and code snippets.
Features
- Setup wizard with auto-detection of installed tools
- Recent Zephyr release feed from GitHub
- Project scaffolding for RS485, SPI Flash, I2C, BLE, USB CDC, threads, and more
- Sidebar views for SDK status, boards, and project actions
- Zephyr C and DTS snippets
- Integrated
west build and west flash actions
- Cross-platform shell support for Windows, Linux, and macOS
Getting started
From source
cd zephyr-studio
npm install
npm run compile
Press F5 in VS Code to launch the Extension Development Host.
Install from VSIX
npm install -g vsce
vsce package
code --install-extension zephyr-studio-1.0.0.vsix
Commands
| Command |
Description |
Zephyr Studio: Open Dashboard |
Open the main UI panel |
Zephyr Studio: New Project |
Jump to project creation |
Zephyr Studio: Check / Install Zephyr |
Open setup wizard |
Zephyr Studio: Build |
Run west build |
Zephyr Studio: Flash |
Run west flash |
Settings
| Setting |
Default |
Description |
zephyrStudio.workspacePath |
~/zephyrproject when empty |
Zephyr workspace root |
zephyrStudio.sdkPath |
`` |
SDK path, auto-detected when possible |
zephyrStudio.defaultBoard |
nucleo_f103rb |
Default board for builds |
zephyrStudio.projectsRoot |
~/zephyr-projects when empty |
Default project location |
Supported boards
STM32F103 (bluepill), Nucleo F103RB, Nucleo RET6, Renesas EK-RA6M2, EK-RA4M1, nRF52840 DK, nRF9160 DK, ESP32, and FRDM-K64F, plus any custom board ID.
Project templates
| Template |
Description |
| Minimal |
main.c + prj.conf + CMakeLists.txt |
| UART + GPIO |
UART logging and LED blink |
| RS485 Frame |
13-byte UART frame handler with DE/RE GPIO |
| Threads |
Producer/consumer with k_msgq |
| SPI Flash |
W25Q NOR flash read/write/erase |
| I2C Sensor |
i2c_write_read skeleton |
| BLE |
Bluetooth peripheral |
| CAN Bus |
CAN frame handler |
| USB CDC |
USB serial device |
| |