def _install_msp430(): """Install msp430 gcc. Use the repository version as sourceforge one is tricky to install and the newest version is not yet supported. """ common.apt_install('gcc-msp430')
def setup_riot_build_tools(): """Install riot build tools.""" common.apt_install('build-essential') common.apt_install('unzip') _install_riot_native_build() _install_arm_gcc() _install_msp430() _install_mips_gcc() _install_avr()
def _install_avr(): """Install avr gcc.""" common.apt_install('gcc-avr avr-libc')
def _install_arm_gcc(): """Install arm gcc from launchpad ppa.""" sudo('add-apt-repository -uy ppa:team-gcc-arm-embedded/ppa') common.apt_install('gcc-arm-embedded')
def _install_riot_native_build(): """Install build tools for native.""" common.apt_install('libc6-dev-i386')
def setup_docker(): """Install Docker.""" common.apt_install('docker') common.apt_install('docker-compose')
def setup_git(): """Install git.""" common.apt_install('git')
def setup_python(): """Install python dependencies.""" common.apt_install('python')