In VS Code, go to File - Open Folder and select the folder containing the uvprojx file (here Blinky.uvprojx
).
Once the folder is open in VS Code, right-click the uvprojx file and select Convert µVision project to csolution:
The following files (and more) are generated:
Blinky.csolution.yaml
Blinky.cproject.yaml
vcpkg-configuration.json
The Output window shows a successful conversion:
The vcpkg configuration file is automatically activated. You notice an active “Environment” configuration in the Status Bar at the bottom:
Click on the CMSIS icon in the Activity Bar. The Primary Side Bar changes and shows the CONTEXT, SOLUTION, and ACTIONS for the project.
In the ACTIONS section, click on Build:
The cbuild
task starts. A successful project build will end with:
Program size: Code=... RO-data=... RW-data=... ZI-data=...
info cbuild: build finished successfully!
Build complete