mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-18 15:43:23 +00:00
db1eacdaac
* Align our subprocess usage with current best practices. * remove unused import * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * fix the cpp invocation for older python * allow for unprompted installation * make sure qmk new-keyboard works on windows Co-authored-by: Ryan <fauxpark@gmail.com>
16 lines
456 B
Bash
Executable File
16 lines
456 B
Bash
Executable File
#!/bin/bash
|
|
|
|
_qmk_install() {
|
|
echo "Installing dependencies"
|
|
|
|
sudo xbps-install $SKIP_PROMPT \
|
|
gcc git make wget unzip zip \
|
|
python3-pip \
|
|
avr-binutils avr-gcc avr-libc \
|
|
cross-arm-none-eabi-binutils cross-arm-none-eabi-gcc cross-arm-none-eabi-newlib \
|
|
avrdude dfu-programmer dfu-util teensy_loader_cli \
|
|
libusb-compat-devel
|
|
|
|
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
|
|
}
|