Skip to content

3mdeb/esp-open-sdk-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Docker image with esp-open-sdk toolchain

Getting started

  • pulling:

    docker pull 3mdeb/esp-open-sdk
    
  • running:

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 \
    3mdeb/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 git@github.com:3mdeb/esp-open-sdk-docker.git
    cd esp-opensdk-docker
    docker build -t 3mdeb/esp-open-sdk .
    

About

Docker image with esp-open-sdk toolchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published