2021-07-06 16:56:13 +02:00
|
|
|
#!/usr/bin/env bash
|
2020-11-26 15:37:54 +01:00
|
|
|
|
|
|
|
_qmk_install_prepare() {
|
2021-05-20 00:24:46 +02:00
|
|
|
sudo pkg update $SKIP_PROMPT
|
2020-11-26 15:37:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
_qmk_install() {
|
|
|
|
echo "Installing dependencies"
|
|
|
|
|
|
|
|
sudo pkg install -y \
|
|
|
|
git wget gmake gcc zip unzip diffutils \
|
|
|
|
python3 \
|
|
|
|
avr-binutils avr-gcc avr-libc \
|
|
|
|
arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib \
|
|
|
|
avrdude dfu-programmer dfu-util
|
|
|
|
|
|
|
|
sudo python3 -m pip install -r $QMK_FIRMWARE_DIR/requirements.txt
|
|
|
|
}
|