diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 74783e6..cfddf07 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -16,5 +16,8 @@ RUN apt-get -y update && \ libncurses5 libncursesw5 \ build-essential \ python3 \ - python-pip \ + python3-pip \ && rm -rf /var/lib/apt/lists* + +# Install pyserial for serial programmer +RUN pip3 install pyserial \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 766001b..6ccab30 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,9 @@ "runArgs": [ "--name", "ZigbeeTLc", - "--rm" + "--rm", + //Use next line to forward serial port programmer to container + "--device=/dev/ttyUSB0" ], "postStartCommand": "/usr/bin/git config --global --add safe.directory \"*\" && make install", "customizations": {