diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-09-27 17:13:39 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-09-27 17:13:39 +0200 |
commit | 3bf32b389dc7cfc85014d91356cfb0ec4cb4df70 (patch) | |
tree | 18a4d7150b55a8ab679c8a2ecc4479689b160293 /scripts/readme.md | |
parent | f9f1e5bf0bd7e8b0ca0708fb63f4d2c56d47ef49 (diff) |
windows toolchain setup
Diffstat (limited to 'scripts/readme.md')
-rw-r--r-- | scripts/readme.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/readme.md b/scripts/readme.md new file mode 100644 index 0000000..41742cf --- /dev/null +++ b/scripts/readme.md @@ -0,0 +1,21 @@ +# scripts + +this subdirectory contains auxiliary scripts + +## windows install + +right-click "install-msys2.ps1" and click "Run with PowerShell" in the context +menu. this will open powershell, install msys2, and close the powershell window +once it's done installing. + +open "MSYS2 MINGW64" from the windows start menu, and use the `cd` command to +navigate to this folder. drive letters (`C:\`) are written like `/c/` in msys2, +and paths use forward slashes instead of backward slashes. e.g. `cd +/c/Users/Loek/Documents/project-weerstation/scripts`. + +run `sh install-packages-mingw.sh`, and wait for the text "installing packages +done!" to appear. + +you've now installed the necessary tools to compile, upload and debug the stm32 +firmware. shortcuts for commonly used commands are implemented as visual studio +code tasks, so you don't have to be a terminal ninja. |