{"id":17444039,"url":"https://github.com/beriberikix/zephyr-vscode-example","last_synced_at":"2025-04-14T14:21:11.282Z","repository":{"id":174905813,"uuid":"652964113","full_name":"beriberikix/zephyr-vscode-example","owner":"beriberikix","description":"An example configuration for setting up Visual Studio Code for Zephyr application development","archived":false,"fork":false,"pushed_at":"2024-08-09T22:28:53.000Z","size":27,"stargazers_count":90,"open_issues_count":4,"forks_count":16,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-11T14:33:41.628Z","etag":null,"topics":["visual-studio-code","vscode","zephyr-rtos"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beriberikix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-13T06:30:49.000Z","updated_at":"2025-04-03T14:29:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"9718c50e-5218-4133-8156-ba0e0508aa18","html_url":"https://github.com/beriberikix/zephyr-vscode-example","commit_stats":null,"previous_names":["beriberikix/zephyr-vscode-example"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beriberikix%2Fzephyr-vscode-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beriberikix%2Fzephyr-vscode-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beriberikix%2Fzephyr-vscode-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beriberikix%2Fzephyr-vscode-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beriberikix","download_url":"https://codeload.github.com/beriberikix/zephyr-vscode-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248894939,"owners_count":21179154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["visual-studio-code","vscode","zephyr-rtos"],"created_at":"2024-10-17T17:05:08.682Z","updated_at":"2025-04-14T14:21:11.242Z","avatar_url":"https://github.com/beriberikix.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# zephyr-vscode-example\n\nThis is an example configuration for setting up Visual Studio Code for Zephyr application development. It was originally created for the talk entitled, \"[Zephyr \u0026 Visual Studio Code: How to Develop Zephyr Apps with a Modern, Visual IDE](https://youtu.be/IKNHPmG-Qxo)\" at EOSS 2023.\n\n## Example details\n\nThere are many, many different ways to develop a Zephyr application. This example currently assumes:\n\n* All paths follow the Getting Started Guide\n* Uses the Zephyr SDK where possible (ex. Host tools are not available on macOS or Windows)\n* In-tree development\n* Use of Python Virtual Environments\n* Building `samples/basic/thread` so we can demonstrate thread-aware debugging\n* Targetting an nRF52840 DK \n\n## Steps\n\n1. Follow the Zephyr [Getting Started Guide](https://docs.zephyrproject.org/latest/develop/getting_started/index.html) for your OS and make sure to use virtual environments\n2. Turn on Compilation Database with `west config build.cmake-args -- -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`\n3. Copy the `.code-workspace` for your OS to `samples/basic/thread` as well the `.vscode` folder\n4. Retrieve `ZEPHYR_SDK_INSTALL_DIR` with `cmake -P zephyr/cmake/verify-toolchain.cmake`. It'll be the prefix of the `C_Cpp.default.compilerPath`\n5. Set the `Python: Interpreter Path`\n6. CD to `samples/basic/thread`\n7. Try the different build tasks and the flash task\n8. Try to connect over the serial terminal\n9. TODO try step debugging\n\n## Credits\n\nhttps://zmk.dev/docs/development/ide-integration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberiberikix%2Fzephyr-vscode-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberiberikix%2Fzephyr-vscode-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberiberikix%2Fzephyr-vscode-example/lists"}