Updated:
Clone repo
If Windows, update wsl2 stuff https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
If Windows, TODO enable USB/IP for WSL2 kernel
Open a terminal in the repo directory
Build sample STM dockerfile:
Windows:
docker build -f ./Dockerfile -t ner-gcc-arm .
MacOS/Linux:
sudo docker build -f ./Dockerfile -t ner-gcc-arm .
Start sample STM dockerfile:
Windows:
docker run --rm -it --privileged -v "$(PWD):/home/app" ner-gcc-arm:latest bash
MacOS/Linux:
sudo docker run --rm -it --privileged -v "$PWD:/home/app" ner-gcc-arm:latest bash
Run
make all
Old:
List of STM tools to download (lowkey might not even need to download them):
https://www.st.com/en/development-tools/stm32cubeclt.html
https://www.st.com/en/development-tools/stm32cubemx.html
https://www.st.com/en/development-tools/st-mcu-finder-pc.html#get-software
https://www.st.com/en/development-tools/stm32cubeide.html#get-software
Then install the “STM32 VS Code Extension” in VS Code. Now you have the full functionality of STM Cube IDE in VSCode!
Windows
sudo port install openocd