{"id":22914682,"url":"https://github.com/foxmd/vscode-stm32-template","last_synced_at":"2026-01-11T05:35:53.263Z","repository":{"id":234882352,"uuid":"471392360","full_name":"FoxMD/VSCode-STM32-template","owner":"FoxMD","description":"CMake template for VSCode and STM32","archived":false,"fork":false,"pushed_at":"2022-03-18T15:33:23.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T06:44:52.954Z","etag":null,"topics":["arm","cmake","stm32","template","vscode"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FoxMD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-03-18T14:07:16.000Z","updated_at":"2022-03-18T14:23:18.000Z","dependencies_parsed_at":"2024-04-21T10:16:26.216Z","dependency_job_id":null,"html_url":"https://github.com/FoxMD/VSCode-STM32-template","commit_stats":null,"previous_names":["foxmd/vscode-stm32-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxMD%2FVSCode-STM32-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxMD%2FVSCode-STM32-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxMD%2FVSCode-STM32-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxMD%2FVSCode-STM32-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FoxMD","download_url":"https://codeload.github.com/FoxMD/VSCode-STM32-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635961,"owners_count":20809331,"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":["arm","cmake","stm32","template","vscode"],"created_at":"2024-12-14T05:16:07.742Z","updated_at":"2026-01-11T05:35:53.223Z","avatar_url":"https://github.com/FoxMD.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VSCode-STM32-template\nSTM32 template needed to open and build CUBE IDE/Atollic projects in VS Code\u003c/br\u003e\nExample on: [STM32F303 Discovery](https://github.com/FoxMD/cube_ide_cmake_c_f303)\n\n### Used tools:\n- arm-none-eabi-gcc\n- STM32CubeProgrammer\n- ST-Link_gdbserver[^1]\n- CMake\n- Ninja [Ninja build system](https://github.com/ninja-build/ninja/releases)\n\n### Used VSCode plugins/tools:\n- ms-vscode.cpptools: [Syntax highlighting and other core features for C/C++ development](https://github.com/microsoft/vscode-cpptools)\n- ms-vscode.cmake-tools: [CMake core tools, build system generator tool](https://github.com/microsoft/vscode-cmake-tools)\n- twxs.cmake: [CMake color highlighting](https://github.com/zyxar/Sublime-CMakeLists)\n- marus25.cortex-debug: [Cortex-M debugging extension, mandatory for STM32 debug from VSCode ](https://github.com/Marus/cortex-debug)\n- dan-c-underwood.arm: [ARM Assembly syntax highlighter ](https://github.com/dan-c-underwood/vscode-arm)\n- zixuanwang.linkerscript: [GCC Linker script syntax highlighter ](https://github.com/TheNetAdmin/vscode-linkerscript)\n\n## Requirements\nTools and VSCode plugins from above\u003c/br\u003e\n### Installed with STM32-CUBE IDE\n\n```\narm-none-eabi-gcc\nSTM32CubeProgrammer\nST-Link_gdbserver\n```\n### Manual install\nCMake - [Download, install](https://cmake.org/download/) \u003c/br\u003e\nNinja - [Standalone version](https://github.com/ninja-build/ninja/releases)\n\n### VSCode\nTo install them in one shot, copy code below to terminal in VSCode\n\n```\ncode --install-extension ms-vscode.cpptools\ncode --install-extension ms-vscode.cmake-tools\ncode --install-extension twxs.cmake\ncode --install-extension marus25.cortex-debug\ncode --install-extension dan-c-underwood.arm\ncode --install-extension zixuanwang.linkerscript\n```\n## Modifications\nCMakeLists.txt - everywhere under #Modified\n.vscode/launch.json - CPU and Paths\n\n## TODO\nIntelisence highligting (.vscode/c_cpp_properties.json needs to be adjusted.\u003c/br\u003e\nWorkaround: \"C_Cpp.errorSquiggles\": \"Disabled\" -\u003e \"Enabled\" (**not recommended**)\n\n## Known issues\n- Generated files (.hex, .bin) are bigger with same compiler settings then in STM32-CUBE IDE   \n\n[^1]: Some AV delete ST-Link_servergdb.exe and let the .bat file exist, while trying to debug your project, you get an error:\n`Debugger error: Client: Error: read ECONNRESET` \u003c/br\u003e\n**Solution:** Just install it again and put a exception in your AV for the exe file before you run it again[^1].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxmd%2Fvscode-stm32-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxmd%2Fvscode-stm32-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxmd%2Fvscode-stm32-template/lists"}