Skip to content

Unit-e/esp-open-sdk-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker image with esp-open-sdk toolchain

Getting started

  • pulling:

    docker pull ghcr.io/Unit-e/esp-open-sdk
    
  • running:

(on linux. TODO: update windows instructions. serial ports WONT WORK on Docker+Windows+WSL2 (which is the default))

So far this container was used for building esp-open-rtos projects

git clone --recursive https://github.com/Superhouse/esp-open-rtos.git
cd esp-open-rtos
docker run -it --device=/dev/ttyUSB0 -v ${PWD}:/home/build \
    Unit-e/esp-open-sdk make flash -C examples/blink ESPPORT=/dev/ttyUSB0

In case of access errors such as:

serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
../../common.mk:247: recipe for target 'flash' failed
make: *** [flash] Error 1
make: Leaving directory '/home/build/examples/blink'

Provide udev rules for your tty device, such as:

echo 'SUBSYSTEM =="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60" , MODE="0666"' \
  | sudo tee /etc/udev/rules.d/52-esp-serial.rules

Building

Building for container development only. Otherwise using docker pull is advised.

  • building:

    git clone [email protected]:Unit-e/esp-open-sdk-docker.git
    cd esp-opensdk-docker
    docker build -t Unit-e/esp-open-sdk .
    

About

Docker image with esp-open-sdk toolchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dockerfile 100.0%