4 # All Vagrant configuration is done below. The "2" in Vagrant.configure
5 # configures the configuration version (we support older styles for
6 # backwards compatibility). Please don't change it unless you know what
8 Vagrant.configure(2) do |config|
9 # The most common configuration options are documented and commented below.
10 # For a complete reference, please see the online documentation at
11 # https://docs.vagrantup.com.
13 # Every Vagrant development environment requires a box. You can search for
14 # boxes at https://app.vagrantup.com/boxes/search
15 config.vm.box = "ubuntu/xenial64"
17 config.vm.provider "virtualbox" do |v|
21 # Enable provisioning with a shell script. Additional provisioners such as
22 # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
23 # documentation for more information about their specific syntax and use.
24 config.vm.provision "shell", inline: <<-SHELL
25 apt-get remove -y binutils-arm-none-eabi gcc-arm-none-eabi
26 add-apt-repository ppa:team-gcc-arm-embedded/ppa
28 apt-get install -y git gcc-arm-embedded=6-2017q2-1~xenial1
29 apt-get install -y make python gcc clang
34 # On windows start a command shell in the project root directory, where the "Vagrantfile" exists.
35 # "vagrant up" to start the VM. First time it takes a while.....
36 # "vagrant ssh" to log into your VM.
37 # "cd /vagrant" Here are the windows project directory mounted with all your files.
38 # "make all" Start working, building all targets for example.
40 # vagrant halt to stop your VM
41 # vagrant --help for more....