Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Updated:

  1. Clone repo

  2. Install docker

    1. If Windows, update wsl2 stuff https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

    2. If Windows, TODO enable USB/IP for WSL2 kernel

  3. Open a terminal in the repo directory

  4. Build sample STM dockerfile:

    1. Windows: docker build -f ./Dockerfile -t ner-gcc-arm .

    2. MacOS/Linux: sudo docker build -f ./Dockerfile -t ner-gcc-arm .

  5. Start sample STM dockerfile:

    1. Windows: docker run --rm -it --privileged -v "$(PWD):/home/app" ner-gcc-arm:latest bash

    2. MacOS/Linux: sudo docker run --rm -it --privileged -v "$PWD:/home/app" ner-gcc-arm:latest bash

  6. 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

  • No labels