Giter Club home page Giter Club logo

universal-stm8-builder's Introduction

Universal STM8 Builder

What is it?

Universal STM8 Builder is a build script, targeting STM8 microcontrollers, that works most of the time. It frees you from dealing with complex Makefile by offering a more simplistic one.

Why?

It takes time for creating and maintaining a build script for each C project, and most of them are not that much different after all.
If a project can fit with some conventions and constraints, enable them to use a shared build script, why bother wasting time tailor a build script just to use once?

What are the constraints?

  • Third-party libraries should be placed inside a single directory. (Default to ./vendor)
  • Application source files should be placed in ./src.
  • The build result will appear in ./bin.
  • No fancy stuff (assembly language compilation and linking, some niche debugging capabilities)
  • By default, the script will not look too deep into the directory containing third-party's libraries to prevent conflicts between dependencies.

Managing project dependencies

The dependencies of your dependencies are your dependencies.
The build script won't look too deep into the directories of third-party libraries, leaving dependencies of dependencies alone without compiling them.
The recommended way to manage dependencies is to have a copy of them as your direct dependencies. Allowing third-party libraries that depends on the different version of the same library to co-exist. (If the interface allows) The final decision of which version to use is yours.

Customizability

It is recommended that you embrace the constraints, but as you may know, you can still customize your Makefile to your heart content, and this script will happily getting along with yours.
The constraints listed are not really rigid, but they lessen your works most of the time.

The dependencies of this script

Usages

  • Include this script into your main Makefile
  • Configure some variables
  • Profits

Examples

License

Universal STM8 Builder is released under the MIT License. ๐ŸŽ‰

universal-stm8-builder's People

Contributors

midnight-wonderer avatar

Watchers

 avatar  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.