summaryrefslogtreecommitdiff
path: root/util/install/freebsd.sh
blob: 595911969d3662d55c1f7beb92437fceb6db1a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

_qmk_install_prepare() {
    sudo pkg update $SKIP_PROMPT
}

_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
}