diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install-mingw-packages.sh | 2 | ||||
-rwxr-xr-x | scripts/install-sdk.sh | 2 | ||||
-rw-r--r-- | scripts/patch-may-26.sh | 4 | ||||
-rw-r--r-- | scripts/readme.md | 14 |
4 files changed, 21 insertions, 1 deletions
diff --git a/scripts/install-mingw-packages.sh b/scripts/install-mingw-packages.sh index c847e4e..fd82909 100644 --- a/scripts/install-mingw-packages.sh +++ b/scripts/install-mingw-packages.sh @@ -1,2 +1,2 @@ #!/bin/sh -pacman --noconfirm -Sy make git unzip mingw-w64-x86_64-avr-toolchain mingw-w64-x86_64-toolchain mingw-w64-clang-x86_64-clang mingw-w64-x86_64-avrdude +pacman --noconfirm -Sy make git unzip mingw-w64-x86_64-avr-toolchain mingw-w64-x86_64-toolchain mingw-w64-clang-x86_64-clang mingw-w64-x86_64-avrdude python3 python3-pip diff --git a/scripts/install-sdk.sh b/scripts/install-sdk.sh index 4773186..0cc651a 100755 --- a/scripts/install-sdk.sh +++ b/scripts/install-sdk.sh @@ -36,3 +36,5 @@ fi cd .. rm -rf temp + +pip3 install compiledb diff --git a/scripts/patch-may-26.sh b/scripts/patch-may-26.sh new file mode 100644 index 0000000..d5b41c7 --- /dev/null +++ b/scripts/patch-may-26.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +pacman --noconfirm -Sy python3 python3-pip +pip3 install compiledb diff --git a/scripts/readme.md b/scripts/readme.md new file mode 100644 index 0000000..58f0a2c --- /dev/null +++ b/scripts/readme.md @@ -0,0 +1,14 @@ +# scripts + +this directory contains scripts for installing necessary build tools for +compiling and uploading code to the robot/client. + +|file|description| +|-|-| +|`bootstrap.ps1`|download msys2 installer, install msys2, download and run `install-mingw-packages.sh`, clone the repository using git, run `install-sdk.sh`, start windows explorer in the project folder.| +|`install-mingw-packages.sh`|install required packages (`make`, `git`, `avr-gcc-toolchain`, `python3`, `pip3`, `avrdude`, `clangd`, `clang-tidy`, `clang-format`)| +|`install-sdk.sh`|install pololu c/c++ sdk, install wixel command-line tools (if on linux), install `compiledb` using `pip3`| +|`patch-may-26.sh`|patch| + +i'm aware the powershell script is ugly, i don't like windows + |