Hi,
I'm developing an extension for vscode that let me deal with keil projects inside vscode.
The main thing it does right now is to analyze the '.uvprojx' file to find all the project and pack includes. This information is used to instruct IntelliSense.
Is out there something available that does the same thing ?
Since CMSIS is opensource, is some kind of library that deals with pack files '.pdsc' available ?
Note that *.uvprojx, *.uvoptx and *.uvguix are xml-based files, which are proprietary file types of MDK uVision, which is not open source, so that there is no such a documentation to help you to create a third-party parser for it.
Instead, you may try exporting your uVision to *.cprj format, which is meant for CMSIS-Build, so that it would be easier to parse the project source code and software packs used, since *.cprj and CMSIS-Build are open source:
https://arm-software.github.io/CMSIS_5/Build/html/index.html
For the details of *.pdsc file, refer to arm-software.github.io/.../packFormat.html
Thanks you very much.
I was not aware of CMSIS-Build. Exporting *.uvprojx in *.cprj can be really helpful.
Just to mention for anyone else that could be interested, you can export a target into a *.cprj also from the command line using the -et flag https://www.keil.com/support/man/docs/uv4/uv4_commandline.htm.