Giter Site home page Giter Site logo

makeesparduino's Introduction

makeEspArduino

A makefile for ESP8266 Arduino projects.

The main intent with this is to provide a minimalistic yet powerful and easy configurable makefile for projects using the ESP8266 Arduino framework available at: https://github.com/esp8266/Arduino

Using make instead of the Arduino IDE makes it easier to do more production oriented builds of software projects.

You basically just have to specify your main sketch file and the libraries it uses. The libraries can be from arbitrary directories without any required specific hierarchy. The makefile will find all involved header and source files automatically.

The makefile will also automatically produce header and c files which contains information about the time when the build (link) was performed. This file also includes the git descriptions (tag) of the used version of the ESP8266/Arduino environment and the project source. This can be used by the project source files to provide stringent version information.

Rules for building the firmware as well as upload to the ESP8266 are provided.

Edit the contents of the makefile file to suit your project or just include it as it is and override the applicable macros. It is of course also possible to control the makefile from the make command line.

The makefile is designed for GNU make and Linux, may work on CygWin as well.

How to use:

First make sure that you have a copy of the ESP8266/Arduino repository and the needed tools. Example:

cd ~
git clone https://github.com/esp8266/Arduino.git
cd esp8266/tools
python get.py

Determine which version you want to use. Example:

git checkout 2.0.0

Clone this repository.

cd ~
git clone https://github.com/plerup/makeEspArduino.git
cd makeEspArduino
make -f makeEspArduino.mk upload

After this you will have the example "HelloServer" in your ESP.

makeesparduino's People

Contributors

plerup avatar everslick avatar gpancot avatar

Watchers

Glyn Hudson  avatar James Cloos 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.