A VS Code Workspace for developing Zephyr Projects.
It opens a Docker container from the official Zephyr Docker images which has everything you need to get started developing a Zephyr project.
Use this template to quickly set up a dev enviroment on any machine with Docker and VSCode :)
video_demo.mp4
You should already have Docker and VSCode with the remote containers plugin installed on your system.
Click on "use this template" in the top right corner of this repo on the Github site.
On the next dialog, name the repository you would like to start and decide if you want all of the branches, or just the main.
Github will then create a new repository with the contents of this one in your account. It grabs the latest changes as "initial commit".
Now you can clone your repo as normal
Now that you've cloned your repo onto your computer, you can open it in VSCode (File->Open Folder).
When you open it for the first time, you should see a little popup that asks you if you would like to open it in a container. Say yes!
If you don't see the pop-up, click on the little green square in the bottom left corner, which should bring up the container dialog
In the dialog, select "Remote Containers: Reopen in container"
VSCode will build the dockerfile inside of .devcontainer
for you. If you open a terminal inside VSCode (Terminal->New Terminal), you should see that your username has been changed to user
, and the bottom left green corner should say "Dev Container"
Keenan Johnson is an electrical and software engineer with experience building IoT fleets of all shapes and sizes.
Reach out if you need help or are interested in hiring me as a consultant for your project.