The Zephyr IDE for VS code extension provides tools to aide in your Zephyr Project work flow. This extension helps you to build Zephyr projects and share them with your team.
You can read a little bit more about the motivation behind the project here.
- Sets up a west environment
- Downloads the Zephyr SDK
- Provides west.yml templates to start with or you can provide your own
- Allows you to add projects from scratch or from templates
- Create multiple projects
- For each project, you can create multiple builds
- Each project may have its own kconfig files and overlay files
- Each build may have a unique board, kconfig files, and overlay files and runner
- Each build may be bound to a launch/debug configuration for debug, build and debug and attach.
- GUI Panels to show the full project tree and active projects
- Automatically changing active project based on the last viewed file in the editor
- All commands that are available in the GUI are available in the command palette.
- Provides useful functions to set up custom launch/debug configurations
- Provides the user with a terminal to manually run west commands
- Saves/loads project structure to workspace in a human readable and editable file
There are two tutorial available on youtube.
In order for this application to work correctly the zephyr require build tools need to be installed and available on the path. These include cmake, python3, and Devicetree Compiler.
See the Install Dependecies Section of the Zephyr Getting Started Guide
For ubuntu please also install python3-venv by sudo apt install python3-venv
This extension contributes the following settings:
- macOS compatibility is untested. Please make an issue on our github page with any incompatibilities found.
Added compile commands and linking with intellisense
Fixed gdb arm path bug, added default terminal profile. Moved projects from settings.json to zephyr-ide.json exclusively.
Fix conflict with python environment manager extension
New GUI panel. Maintain GUI tree state on relaunch. Removed updating of project file with active project/build/runner
Added additional debug statements to the debug shell command
Improved SDK install Added Global Zephyr Install Option
Added GUI for west build. Added additional build buttons to status bar Prevent initialization of workspace without folder open
Repackage
Added the ability to clone git repo during west init. Cleaned up some handling of VS code tasks.
Fixed bug with setting up west environment
Added extra west build arguments. (Must be added to .json files) Added West Configurator for different HALs. Added menuConfig and guiConfig commands. Renamed sample projects.
Added the ability to copy from all samples
Fix for v3.6.0 and previous board list
Parsed board qualifications to be able to handle newer board
Removed path from ncs west.yml
Fixed introduced bug with west init
Allow default runner when board.cmake file does not exist.
Added the ability to select different zephyr versions.
Added checks for dtc and cmake. Removed showing only arm boards when only arm toolchain is installed.
Added default args for runner
Fixed default runner
Only available runners display and non arm board dts files may be opened from the GUI
Fixed incorrect build notification
Reverted default project file to use
Fixed not able to remove projects or build.
Initial release.
See the Zephyr IDE for VS Code Developer's Guide for development and debugging instructions.