Added Readme & License.

This commit is contained in:
Petr Hodina 2017-10-17 08:34:01 +02:00
parent 15a11c47ea
commit b3c43ebc52
2 changed files with 50 additions and 0 deletions

19
License.txt Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2017 Petr Hodina
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

31
Readme.txt Normal file
View File

@ -0,0 +1,31 @@
# Project converter
Simple modular python script to convert existing projects from IAR's ewp and ARM's KEIL uvprojx project formats to cmake and linker file using GCC compiler.
## Module description
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
## Usage
Run in output dir.
Convert project from IAR:
converter.py ewp <path to project root>
Convert project from ARM's KEIL:
converter.py uvprojx <path to project root>
## TODO
[] Seperate templates into submodule
[] Support generation of Makefile
[] Support additional compilers
[] Test on MAC OSX
[] Arg to specify build directory
[] Add Tests