Giter VIP home page Giter VIP logo

keil2gcc's Introduction

It converts Keil uVision project file to GCC makefile. It also can convert STMCube project to GCC makefile - you just need to select target platform (in STM Cube) to Keil MDK 4 and then convert keil project to GCC.

This utility goes through Keil project file and creates:
-makefile with list of all source files included into project
-it sets proper C/C++ compiler flags that fit to selected MCU
-it inserts clean command + install command to makefile
-it generates JLink script for installing compiled firmware to MCU (see makefile install command)
-it generates *.ld file
-it generates .s file
-
.s file contains some additional instructions to make sure that stack pointer is always set to correct value (even after calling entry point by boot loader)

It has been tested with these MCU types:

-STM 32F010
-STM 32F103
-STM 32F205
-STM 32F207
-STM 32F429
-NXP LCP11C24

For these MCUs is generated correct S (startup) file and LD file. For other MCUs can happen that generated S file or LD file is not 100% correct (although I hope it will not happen). In such case try to get original S file or LD file from your MCU manufacter and you can send me the correct file.

This utility is also demostrating how easy is to do such things with PersistantLibrary (see https://github.com/embedded-tools/PersistenceLibrary )

Binary files:

1.03 - not available anymore - used for youtube video https://www.youtube.com/watch?v=ua8jki9Vjx4
1.04 - https://keil2gcc.bbot.cz/file/keil2gcc_1.04.zip (added -scanlib feature)
1.05 - https://keil2gcc.bbot.cz/file/keil2gcc_1.05.zip (support for Keil v5 added)
1.06 - https://keil2gcc.bbot.cz/file/keil2gcc_1.06.zip (minor bug fixes)
1.07 - https://keil2gcc.bbot.cz/file/keil2gcc_1.07.zip (checks for presence of original gcc startup file by manufacturer - tested with some waveshare dev kits)

keil2gcc's People

Contributors

embedded-tools avatar hovercraft-github avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.