Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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

...