News

Microsoft Takes VS 2022 Embedded Tools (C++) to VS Code

Microsoft's C++ dev team announced that an Embedded Tools extension introduced to Visual Studio 2022 last year is now available for Visual Studio Code as a preview.

The Embedded Tools extension now has 50 installs after being introduced yesterday (March 9), with the VS Code Marketplace description saying it lets developers view registers and Real-Time Operating System (RTOS) data when debugging embedded devices. Specifically, it provides a register viewer for CMSIS-SVD files, along with an RTOS data viewer with support for Azure RTOS and FreeRTOS.

The Embedded Tools Extension
[Click on image for larger view.] The Embedded Tools Extension (source: Microsoft).

The same functionality was injected into a VS 2022 preview last December, when Microsoft explained that the extension is used in conjunction with new vcpkg artifact capabilities to quickly bootstrap an embedded development machine and get started with actual coding. Those capabilities center around vcpkg, Microsoft's cross-platform open source package manager.

Microsoft defines an artifact as a set of packages required for a working development environment, listing compilers, linkers, debuggers, build systems and platform SDKs as examples of relevant packages.

Example Azure RTOS ThreadX Project
[Click on image for larger view.] The Example Azure RTOS ThreadX Project (source: Microsoft).

The company's March 10 announcement post explains using vcpkg from a PowerShell prompt to activate an embedded development environment for an example Azure RTOS ThreadX project (pictured above), but any shell can be used. It demonstrates functionality around: code navigation and IntelliSense; building, deploying and debugging on hardware; working with peripheral registers and RTOS object views; and more.

"We hope that these new capabilities will enable you to choose VS Code for your embedded development needs and make you more productive," Microsoft said. "We are very interested in your feedback to continue to improve this experience. The comments below are open, or you can find us on Twitter (@VisualC), or via email at [email protected]."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube