Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.77 KB

Readme.md

File metadata and controls

57 lines (39 loc) · 1.77 KB

#从大佬的项目改的,需要安装Jinja2,只支持KEIL,使用方法:python converter.py 项目的根目录(不代表是.uvprojx所在的文件夹)

Project converter for Embedded Projects

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.

Module description

Prerequisites

Install python3 on your system run:

pip install Jinja2

Usage

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>

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.

Authors

  • Petr Hodina - Initial work

License

The project is licensed under the Apache License v2.0 - see the LICENSE.md file for details.

TODO

  • 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