You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
656 B

  1. #!/bin/bash
  2. _qmk_install() {
  3. echo "Installing dependencies"
  4. sudo pacman --needed --noconfirm -S \
  5. base-devel clang diffutils gcc git unzip wget zip \
  6. python-pip \
  7. avr-binutils \
  8. arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib \
  9. avrdude dfu-programmer dfu-util
  10. sudo pacman --needed --noconfirm -U https://archive.archlinux.org/packages/a/avr-gcc/avr-gcc-8.3.0-1-x86_64.pkg.tar.xz
  11. sudo pacman --needed --noconfirm -S avr-libc # Must be installed after the above, or it will bring in the latest avr-gcc instead
  12. python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
  13. }