This repo contains code for experimenting with various DSP algorithms on the Daisy seed MCU.
Docker is used for building the project and the provided Dockerfile will handle installation of dependencies.
Clone the git repo and create a docker image with the included makefile:
make docker_create_image
Note when calling the below scripts there may be an issue using bash. Use cmd instead if this fails. Build the example projects:
make build_examples
Build the kardio libs project:
make build_kardio
For programming and debugging through the docker image with a ST-LINK, the usbipd tool is required. This can be found here: https://github.com/dorssel/usbipd-win
First, use usbipd to find the hardware id of your ST-LINK:
usbipd list
This will list your usb devices as such:
The hardware id is in this case 0483:3754. This ST-LINK must be attached to wsl through the following command:
usbipd attach --wsl --hardware-id=0483:3754
Afterwards when running commands through the Docker container that require the ST-LINK, the usb device must be attached by passing the --device parameter:
--device=/dev/bus/usb:/dev/bus/usb