Test
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Usage: ./run_pio_docker.sh <ESP_PORT> [additional docker args]
|
||||
# Example: ./run_pio_docker.sh /dev/ttyUSB0
|
||||
|
||||
ESP_PORT="$1"
|
||||
ESP_PORT="/dev/ttyUSB0"
|
||||
shift
|
||||
|
||||
# if [ -z "$ESP_PORT" ]; then
|
||||
@@ -11,10 +11,11 @@ shift
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
IMAGE="easylinux/platformio-dev:1.0"
|
||||
IMAGE="easylinux/platformio-dev:1.1"
|
||||
CONTAINER="pio-dev"
|
||||
PROJECT_DIR="$(pwd)"
|
||||
|
||||
socat TCP-LISTEN:12345,reuseaddr,fork FILE:/dev/ttyUSB0,raw,echo=0 &
|
||||
# Run Docker container with ESP port and project directory mounted
|
||||
# --device allows direct access to the ESP serial port
|
||||
|
||||
|
||||
Reference in New Issue
Block a user