unnamedd / cmake-uvision-syncer

CMake ⇄ µVision project file synchronizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake ⇄ µVision Synchronizer

For ARM embedded firmware development I commonly use CLion in combination with the Keil µVision®.

In my opinion,
CLion is one of the best C/C++ IDEs available - user friendly yet powerful and packed with useful features. However when considering the embedded targets, the amount of additional configuration required and lack of native debugging support becomes noticeable.
On the other hand, Keil® MDK is one of the most comprehensive software development solution for Arm®-based microcontrollers, integrating powerful, feature rich compiler and debugger.

CLion uses CMake based project configuration system (using CMakeLists.txt as a main project configuration file) while µVision5 uses its own file types - .uvprojx project file in combination with .uvoptx project options file, both in XML format.

To take the advantage of CLion advanced intelligent coding assistance and code analysis features it is important that the project parameters (source and include files/directories, project preprocessor definitions, compiler and linker flags, ...) in all project files are the same. If something relevant is changed in the CMake file, uvprojx/uvoptx files shall also be modified accordingly - the same is true in both directions.

As such "synchronization" is time consuming and error-prone, the goal of this tool is to automate the process.

About

CMake ⇄ µVision project file synchronizer

License:MIT License


Languages

Language:Python 100.0%