-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from qmsk/docker-compose-github-actions-update
Fix GitHub Actions, Docker Compose V2 usage
- Loading branch information
Showing
9 changed files
with
111 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Usage: | ||
# $ ESPPORT=/dev/ttyUSB0 docker compose -f docker-compose.devices.yml run --rm monitor | ||
services: | ||
|
||
flash: | ||
image: qmsk/esp-idf:dev | ||
volumes: | ||
- ../..:/build | ||
working_dir: /build/projects/esp32 | ||
command: idf.py flash | ||
init: true | ||
read_only: true | ||
devices: | ||
- "${ESPPORT}" | ||
environment: | ||
ESPPORT: "${ESPPORT}" | ||
|
||
monitor: | ||
image: qmsk/esp-idf:dev | ||
volumes: | ||
- ../..:/build | ||
working_dir: /build/projects/esp32 | ||
command: idf.py monitor | ||
init: true | ||
read_only: true | ||
devices: | ||
- "${ESPPORT}" | ||
environment: | ||
ESPPORT: "${ESPPORT}" | ||
BOARDCONFIG: "${BOARDCONFIG}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# USAGE: | ||
# | ||
# ESPPORT=/dev/ttyUSB? docker compose up flash | ||
# ESPPORT=/dev/ttyUSB? docker compose run --rm monitor | ||
# ESPPORT=/dev/ttyUSB? docker compose up config-reset | ||
# | ||
# @see https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/get-started/index.html#environment-variables | ||
services: | ||
flash: | ||
image: qmsk/esp8266-rtos-sdk:dev | ||
volumes: | ||
- ../..:/build | ||
working_dir: /build/projects/esp8266 | ||
user: build | ||
command: make flash | ||
init: true | ||
devices: | ||
- "${ESPPORT}" | ||
environment: | ||
SDKCONFIG: sdkconfig@${BOARDCONFIG:-qmsk-esp} | ||
ESPPORT: "${ESPPORT}" | ||
|
||
config-reset: | ||
image: qmsk/esp8266-rtos-sdk:dev | ||
volumes: | ||
- ../..:/build | ||
working_dir: /build/projects/esp8266 | ||
user: build | ||
command: make config-reset | ||
init: true | ||
devices: | ||
- "${ESPPORT}" | ||
environment: | ||
SDKCONFIG: sdkconfig@${BOARDCONFIG:-qmsk-esp} | ||
ESPPORT: "${ESPPORT}" | ||
|
||
monitor: | ||
image: qmsk/esp8266-rtos-sdk:dev | ||
volumes: | ||
- ../..:/build | ||
working_dir: /build/projects/esp8266 | ||
user: build | ||
command: make monitor MONITOR_OPTS="--baud $${MONITORBAUD} --port $${ESPPORT} --eol CRLF" | ||
init: true | ||
devices: | ||
- "${ESPPORT}" | ||
environment: | ||
SDKCONFIG: sdkconfig@${BOARDCONFIG:-qmsk-esp} | ||
ESPPORT: "${ESPPORT}" | ||
MONITORBAUD: "${MONITORBAUD:-115200}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters