@ -20,7 +20,8 @@ if [[ -n "$(type -P pacman )" ]]; then
arm-none-eabi-gcc \
arm-none-eabi-gcc \
arm-none-eabi-binutils \
arm-none-eabi-binutils \
arm-none-eabi-newlib \
arm-none-eabi-newlib \
git
git \
diffutils
elif [ [ -n " $( type -P apt-get) " ] ] ; then
elif [ [ -n " $( type -P apt-get) " ] ] ; then
# Debian and derivatives
# Debian and derivatives
@ -47,7 +48,8 @@ elif [[ -n "$(type -P apt-get)" ]]; then
gcc-arm-none-eabi \
gcc-arm-none-eabi \
binutils-arm-none-eabi \
binutils-arm-none-eabi \
libnewlib-arm-none-eabi \
libnewlib-arm-none-eabi \
git
git \
diffutils
elif [ [ -n " $( type -P yum) " ] ] ; then
elif [ [ -n " $( type -P yum) " ] ] ; then
# Fedora, CentOS or RHEL and derivatives
# Fedora, CentOS or RHEL and derivatives
@ -69,7 +71,8 @@ elif [[ -n "$(type -P yum)" ]]; then
gcc-arm-none-eabi \
gcc-arm-none-eabi \
binutils-arm-none-eabi \
binutils-arm-none-eabi \
libnewlib-arm-none-eabi \
libnewlib-arm-none-eabi \
git
git \
diffutils
# The listed eabi pacackes do unfortunately not exist for CentOS,
# The listed eabi pacackes do unfortunately not exist for CentOS,
# But at least in Fedora they do, so try to install them anyway
# But at least in Fedora they do, so try to install them anyway
# TODO: Build them from sources, if the installation fails
# TODO: Build them from sources, if the installation fails
@ -85,7 +88,8 @@ elif [[ -n "$(type -P zypper)" ]]; then
patch \
patch \
wget \
wget \
dfu-programmer \
dfu-programmer \
git
git \
diffutils
# TODO: The avr and eabi tools are not available as default packages, so we need
# TODO: The avr and eabi tools are not available as default packages, so we need
# another way to install them
# another way to install them