Git Product home page Git Product logo

stm8l051led's Introduction

STM8L051LED

Travis-CI

This repository is at the same time a demonstrator and a template for the STM8 eForth Modular Build feature. implements board support for a simple demo device: board specific setting are entirely in the board support folder (STM8L051F3 in the example) and STM8 eForth dependencies are taken care of by the Makefile.

Building the code can be done manually (on Linux make sure that Python and SDCC are installed) or automatically wuth Travis-CI.

How to use the code manually

Make a copy or clone of the code in this repository, connect your board to the serial interface and run make on a Linux system with STM8FLASH, SDCC and Python 2.7 (with some chages Python3 can be used).

You can also run make flash to only build the binary and flash it to you board and make term to start an installed e4thcom.

How to enable your fork in Travis-CI

If you want build automation, first create a Travis-CI account, link it to your GitHub account and enable your fork of this repository:

image

Install the Travis-CI CLI tool and install credentials:

(base) thomas@w500:~/source/stm8s/stm8ef-modular-build$ travis setup releases --force
Username: tg9541
Password for tg9541: *******************
File to Upload: test
Deploy only from TG9541/stm8ef-modular-build? |yes| 
Encrypt API key? |yes| 

Change (back) FILE to Upload from file: test to the following:

  file:
    - "out/stm8ef-bin.zip"
    - "out/stm8ef-bin.tgz"
  skip_cleanup: true

Create and configure a Travis-CI webhook in your repository (my settings are here).

Make the Travis-CI badge point to your accounts:

[![Travis-CI](https://travis-ci.org/TG9541/stm8ef-modular-build.svg)](https://travis-ci.org/TG9541/stm8ef-modular-build)

stm8l051led's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

jitsin2001

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.