I wrote a simple CMake script to automatically generate libraries from CubeMX projects:https://github.com/jmacheta/cubemx-cmakeIt uses CubeMX CLI functionality to generate Makefile project, then parses Makefile to get relevant information(i.e. source...