7a25dcacff
* stash poc * stash * tidy up implementation * Tidy up slightly for review * Tidy up slightly for review * Bodge environment to make tests pass * Refactor away from asyncio due to windows issues * Filter devices * align vid/pid printing * Add hidapi to the installers * start preparing for multiple hid_listeners * udev rules for hid_listen * refactor to move closer to end state * very basic implementation of the threaded model * refactor how vid/pid/index are supplied and parsed * windows improvements * read the report directly when usage page isn't available * add per-device colors, the choice to show names or numbers, and refactor * add timestamps * Add support for showing bootloaders * tweak the color for bootloaders * Align bootloader disconnect with connect color * add support for showing all bootloaders * fix the pyusb check * tweaks * fix exception * hide a stack trace behind -v * add --no-bootloaders option * add documentation for qmk console * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * pyformat * clean up and flesh out KNOWN_BOOTLOADERS Co-authored-by: zvecr <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
16 lines
739 B
Bash
Executable file
16 lines
739 B
Bash
Executable file
#!/bin/bash
|
|
|
|
_qmk_install() {
|
|
echo "Installing dependencies"
|
|
|
|
sudo pacman --needed --noconfirm -S \
|
|
base-devel clang diffutils gcc git unzip wget zip python-pip \
|
|
avr-binutils arm-none-eabi-binutils arm-none-eabi-gcc \
|
|
arm-none-eabi-newlib avrdude dfu-programmer dfu-util
|
|
sudo pacman --needed --noconfirm -U https://archive.archlinux.org/packages/a/avr-gcc/avr-gcc-8.3.0-1-x86_64.pkg.tar.xz
|
|
sudo pacman --needed --noconfirm -S avr-libc # Must be installed after the above, or it will bring in the latest avr-gcc instead
|
|
|
|
sudo pacman --needed --noconfirm -S hidapi # This will fail if the community repo isn't enabled
|
|
|
|
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
|
|
}
|