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