Skip to content

Commit

Permalink
add bmsw nodes and docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyelopez committed Jun 1, 2024
1 parent a572acb commit 4cee2bf
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions conUDS/assets/nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@ nodes:
# just added this for testing, this isn't actually true yet
request_id: 0x111
response_id: 0x112
bmsw0:
request_id: 0x600
response_id: 0x640
bmsw1:
request_id: 0x601
response_id: 0x641
bmsw2:
request_id: 0x602
response_id: 0x642
bmsw3:
request_id: 0x603
response_id: 0x643
bmsw4:
request_id: 0x604
response_id: 0x644
bmsw5:
request_id: 0x605
response_id: 0x645
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
services:
conuds-docker:
image: ghcr.io/concordia-fsae/containers/rust:v1.0.0
container_name: conuds-docker
hostname: conuds
volumes: # mount pts
- .:/conUDS
user: rustuser
tty: true # open terminal for interacting
stdin_open: true
privileged: true
devices:
# map host's usb buses to container's buses for st-link programmer
- "/dev/bus/usb/:/dev/bus/usb/"
4 changes: 4 additions & 0 deletions run-docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

docker-compose pull
docker-compose run --rm conuds-docker

0 comments on commit 4cee2bf

Please sign in to comment.