Coder Social home page Coder Social logo

esp8266-docker-buildbox's Introduction

ESP8266 Docker Buildbox

Dockerfile to create a Ubuntu container containing all the tools needed to compile a simple example for the ESP8266 See full description here: http://blog.squix.ch/2015/01/esp8266-using-docker-to-setup-build.html

Usage

git clone https://github.com/squix78/esp8266-docker-buildbox.git cd esp8266-docker-buildbox/ docker build -t local/buildbox .

This might take a few minutes. Then run the image with

docker run -i -t local/buildbox /bin/bash

To build the blinky example do:

su - esp8266 cd source-code-examples/blinky/ make

which will give you 0x00000.bin and 0x40000.bin.

To flash them onto your ESP8266 you can share a folder of your host system by adding changing the run command:

docker run --privileged -v=/host/firmwares:/opt/firmwares -i -t local/buildbox /bin/bash

This will mount your host systems folder "/host/firmwares" to the build image folder "/opt/firmwares". Of course you are free to change it. Even better would be to pass the usb serial device to the docker container. Then you could flash the image directly from there. But I couldn't get to work yet

Todo

  • Pass the usb serial device to the docker image
  • Create more Dockerfiles with recent SDK versions

esp8266-docker-buildbox's People

Contributors

squix78 avatar zoobab avatar

Watchers

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