Skip to content

Add adc conversion task and usb compatibility to the docker container#7

Open
JPNguyen38 wants to merge 4 commits intomainfrom
Feat-ADC
Open

Add adc conversion task and usb compatibility to the docker container#7
JPNguyen38 wants to merge 4 commits intomainfrom
Feat-ADC

Conversation

@JPNguyen38
Copy link

For usb compat, follow steps in this commit

need to install usbipd-win.
in windows cmd:
winget install usbipd
run usbipd list to find the busid of the STM32
usbipd bind --busid <busid> to allow docker to access it
usbipd attach --wsl --busid <busid> to give it to docker

in vscode container terminal:
chmod -R 777 /dev/ttyACM0 to give read, write, execute permissions for the STM32 to the container
also changed the build preset to debug in order to use live watch
for whatever reason, the task written for this wasn't committed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant