Microsoft Adopts VS 2022 (C++) Built-in Tools in VS Code – Visual Studio Magazine
Microsoft adopts VS 2022 (C++) built-in tools in VS Code
Microsoft’s C++ development team has announced that an Embedded Tools extension introduced in Visual Studio 2022 last year is now available for Visual Studio Code as a preview.
The Embedded Tools extension now has 50 installs after its introduction yesterday (March 9), with the VS Code Marketplace description stating that it allows developers to view real-time operating system (RTOS) registers and data when debugging built-in devices. Specifically, it provides a registry viewer for CMSIS-SVD files, as well as an RTOS data viewer with support for Azure RTOS and FreeRTOS.
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 boot an integrated development machine and begin with actual coding. These features are centered 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.
The company’s March 10 announcement post explains using vcpkg from a PowerShell prompt to enable an integrated development environment for an Azure RTOS ThreadX sample project (shown above), but any which shell can be used. It demonstrates functionality around: code navigation and IntelliSense; build, deploy, and debug on hardware; work with peripheral registers and RTOS object views; and more.
“We hope these new features will help you choose VS Code for your embedded development needs and make you more productive,” Microsoft said. “We are very interested in your feedback to continue improving this experience. Comments below are open, or you can find us on Twitter (@VisualC), or by e-mail to [email protected].”