3 if ! brew --version 2>&1 > /dev/null; then
4 echo "Error! Homebrew not installed or broken!"
5 echo -n "Would you like to install homebrew now? [y/n] "
9 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
16 echo -n "Would you like to install homebrew now? [y/n] "
22 brew tap osx-cross/avr
23 brew tap PX4/homebrew-px4
25 brew install avr-gcc@7 gcc-arm-none-eabi dfu-programmer avrdude dfu-util
26 brew link --force avr-gcc@7