The helper project to generate CMake file from makefile
based
STM32CubeMX project. It allows to import this project into
Qt Creator or other C/C++ IDE.
The project requires python 3.6. You can install it from pypi:
pip install vznncv-cubemx-tools
or the latest version from github:
pip install git+https://github.com/vznncv/vznncv-cubemx-tools
- Create project using STM32CubeMX with makefile based project generation.
- Go to project folder and run the command:
vznncv-cubemx generate-cmake-project
Besides CMakeLists.txt
command generates the following files:
penocd_stm.cfg
- openocd script. Probably you should adjust it for your configuration.build.sh
- helper script to build project from console.upload-app.sh
- helper script to upload compiled project to microcontroller.