Skip to content

bojanpotocnik/cmake-uvision-syncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages