From 0eb2cbc9cf42f83e3954ed975c11ef228f0f80e3 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 17 Oct 2017 08:34:01 +0200 Subject: [PATCH] Added Readme & License. --- License.txt | 19 +++++++++++++++++++ Readme.txt | 31 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 License.txt create mode 100644 Readme.txt diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..3814c34 --- /dev/null +++ b/License.txt @@ -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. \ No newline at end of file diff --git a/Readme.txt b/Readme.txt new file mode 100644 index 0000000..7478ffb --- /dev/null +++ b/Readme.txt @@ -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 + +Convert project from ARM's KEIL: + + converter.py uvprojx + +## TODO + +[] Seperate templates into submodule +[] Support generation of Makefile +[] Support additional compilers +[] Test on MAC OSX +[] Arg to specify build directory +[] Add Tests \ No newline at end of file