Beispiel #1
0
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')
Beispiel #2
0
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()
Beispiel #3
0
def _install_avr():
    """Install avr gcc."""
    common.apt_install('gcc-avr avr-libc')
Beispiel #4
0
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')
Beispiel #5
0
def _install_riot_native_build():
    """Install build tools for native."""
    common.apt_install('libc6-dev-i386')
Beispiel #6
0
def setup_docker():
    """Install Docker."""
    common.apt_install('docker')
    common.apt_install('docker-compose')
Beispiel #7
0
def setup_git():
    """Install git."""
    common.apt_install('git')
Beispiel #8
0
def setup_python():
    """Install python dependencies."""
    common.apt_install('python')