$ ./mk2cmake.py -h
usage: mk2cmake.py [-h] [--path_to_makefile PATH_TO_MAKEFILE]
[--path_to_output_directory PATH_TO_OUTPUT_DIRECTORY]
optional arguments:
-h, --help show this help message and exit
--path_to_makefile PATH_TO_MAKEFILE, -i PATH_TO_MAKEFILE
Path to CubeMX generated Makefile
--path_to_output_directory PATH_TO_OUTPUT_DIRECTORY, -o PATH_TO_OUTPUT_DIRECTORY
Path to otuput directory of CMakeLists.txt
see LICENSE