Giter Club home page Giter Club logo

esp8266-toolchain-docker's Introduction

Overview

Lightweight docker image built on top of debian:jessie-slim with installed xtensa toolchain, ESP8266_RTOS_SDK and few additional tools:

  • xtensa-lx106 (crosstool-NG crosstool-ng-1.22.0-92-g8facf4c; 5.2.0)
  • ESP8266_RTOS_SDK (v3.2)
  • esptool.py (v2.4)
  • make (v4.2)
  • cmake (v3.5)

DockerHub: https://hub.docker.com/r/lpodkalicki/esp8266-toolchain

Building image locally

git clone https://github.com/lpodkalicki/esp8266-toolchain-docker.git
cd eps8266-toolchain
docker build --rm -t lpodkalicki/esp8266-toolchain:latest .

An example of running toolchain binary

docker run --rm -it --privileged -v $(pwd):/build lpodkalicki/esp8266-toolchain xtensa-lx106-elf-gcc --version

Installing

Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs esp8266-toolchain script into "/usr/bin/" directory.

curl https://raw.githubusercontent.com/lpodkalicki/esp8266-toolchain-docker/master/install.sh | bash -s --

Getting started

  1. Install toolchain using recommended simple one-line installer.
  2. Use super command esp8266-toolchain for all toolchain binaries.
  3. Execute toolchain binaries inside your working/project directory.

Examples

$ cd your-project/
$ esp8266-toolchain idf.py build
$ esp8266-toolchain idf.py flash
$ esp8266-toolchain idf.py monitor
$ esp8266-toolchain xtensa-lx106-elf-gcc --version
$ esp8266-toolchain make -version
$ esp8266-toolchain cmake -version
$ esp8266-toolchain make menuconfig
$ esp8266-toolchain make && make flash monitor

esp8266-toolchain-docker's People

Contributors

lpodkalicki avatar ptrkrysik avatar

Watchers

 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.