#从大佬的项目改的,需要安装Jinja2,只支持KEIL,使用方法:python converter.py 项目的根目录(不代表是.uvprojx所在的文件夹)
A lot of Embedded Projects use proprietary IDEs and build processes. This make any CI/CD painful. Therefore these simple python scripts allow conversion of existing projects into CMake and corresponding linker file for GCC toolchain. Currently supported are IAR's ewp and ARM's KEIL uvprojx project formats.
- cmake.py - Cmake and linker file generation
- converter.py - Argument parsing
- ewpproject.py - Parser for IAR's ewp file format
- uvprojx.py - Parser for ARM's KEIL uvprojx file format
Install python3
on your system run:
pip install Jinja2
Run in output dir.
Convert project from IAR:
python converter.py ewp <path to project root>
Convert project from ARM's KEIL:
python converter.py uvprojx <path to project root>
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning.
- Petr Hodina - Initial work
The project is licensed under the Apache License v2.0 - see the LICENSE.md file for details.
- Package as python module and publish it
- Seperate templates into submodule
- Support generation of Makefile
- Support additional compilers
- Test on MAC OSX
- Arg to specify build directory
- Add Tests