Giter Club home page Giter Club logo

esp8266-arduino-makefile's Introduction

Esp8266-Arduino-Makefile for Ubuntu and Cygwin/Windows (thx to intrepidor)

Makefile to build arduino code for ESP8266 under linux (tested on debian X64). Based on Martin Oldfield arduino makefile : http://www.mjoldfield.com/atelier/2009/02/arduino-cli.html

Changelog

05/09/2016 :

  • update to esp8266-2.2.0
  • new OTA params : OTA_IP OTA_PORT OTA_AUTH (see example)

03/08/2016 :

  • Handle subdirectories of core uniformly : pull request from surr. Thank you

02/29/2016

  • Cygwin support (from intrepidor not tested)
  • update to esp8266-2.1.0
  • user can install specific libraries in libraries dir

02/21/2016 :

  • fix mkspiffs install

02/18/2016 :

  • new x86 and x64 linux install
  • cleanup

08/12/2015 :

  • add install script for 32 bit linux
  • update to esp8266-2.0.0-rc2

04/11/2015 :

08/10/2015 :

  • add $(ARDUINO_CORE)/variants/$(VARIANT) to include path for nodemcuv2

29/09/2015 :

  • fix README for third party tools installation
  • move post-installation out of the makefile

23/09/2015 :

  • working dependencies
  • multiple ino files allowed
  • core & spiffs objects build in their own directories
  • autodetect system and user libs used by the sketch
  • Makefile renamed to esp8266Arduino.mk

Installation

  • Clone this repository : git clone https://github.com/thunderace/Esp8266-Arduino-Makefile.git
  • Install third party tools : for 64 bits linux cd Esp8266-Arduino-Makefile && chmod+x install-x86_64-pc-linux-gnu.sh && ./install-x86_64-pc-linux-gnu.sh && cd .. for 32 bits linux : cd Esp8266-Arduino-Makefile && chmod+x install-i686-pc-linux-gnu.sh && ./install-i686-pc-linux-gnu.sh && cd ..
  • In your sketch directory place a Makefile that defines anything that is project specific and put this line at the end include /path_to_Esp8266-Arduino-Makefile_directory/esp8266Arduino.mk (see example)
  • make upload should build your sketch and upload it...

#dependencies

  • this project install the lastest stable esp8266/Arduino repository (2.0.0) and the last stagging esptool and xtensa-lx106 toolchain

TODO

  • build user libs in their own directory to avoid problems with multiple files with same name.

esp8266-arduino-makefile's People

Contributors

elpaso avatar surr avatar thunderace 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.