Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.54 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.54 KB

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.