diff options
| author | dragon788 <dragon788@users.noreply.github.com> | 2016-01-16 11:44:27 -0600 |
|---|---|---|
| committer | dragon788 <dragon788@users.noreply.github.com> | 2016-01-16 11:44:27 -0600 |
| commit | 987ac16afde0539dca1f158c1f2186bcb3f26c76 (patch) | |
| tree | 02f8bdc214d6ee8924eaf3c02fded6f6ff1c4f30 /Vagrantfile | |
| parent | 71ee3eb2e7fdddbfac4443c5f8522a2f620f86e2 (diff) | |
| download | qmk_firmware-987ac16afde0539dca1f158c1f2186bcb3f26c76.tar.gz qmk_firmware-987ac16afde0539dca1f158c1f2186bcb3f26c76.zip | |
Updated avr script and added notes to Vagrantfile
Diffstat (limited to 'Vagrantfile')
| -rw-r--r-- | Vagrantfile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Vagrantfile b/Vagrantfile index 788e014de..a2059cb80 100644 --- a/Vagrantfile +++ b/Vagrantfile | |||
| @@ -13,6 +13,9 @@ Vagrant.configure(2) do |config| | |||
| 13 | # VMware/Virtualbox 64 bit | 13 | # VMware/Virtualbox 64 bit |
| 14 | # config.vm.box = "puphpet/centos65-x64" | 14 | # config.vm.box = "puphpet/centos65-x64" |
| 15 | # | 15 | # |
| 16 | # The opensuse boxes don't have dfu-util in their default repositories | ||
| 17 | # | ||
| 18 | # The virtualbox version has tools issues | ||
| 16 | # VMware/Virtualbox 64 bit | 19 | # VMware/Virtualbox 64 bit |
| 17 | # config.vm.box = "bento/opensuse-13.2-x86_64" | 20 | # config.vm.box = "bento/opensuse-13.2-x86_64" |
| 18 | # | 21 | # |
| @@ -35,7 +38,7 @@ Vagrant.configure(2) do |config| | |||
| 35 | # This section allows you to customize the VMware VM | 38 | # This section allows you to customize the VMware VM |
| 36 | # settings, ie showing the GUI or upping the memory | 39 | # settings, ie showing the GUI or upping the memory |
| 37 | # or cores if desired | 40 | # or cores if desired |
| 38 | config.vm.provider "vmware" do |vmw| | 41 | config.vm.provider "vmware_workstation" do |vmw| |
| 39 | # Hide the VMware GUI when booting the machine | 42 | # Hide the VMware GUI when booting the machine |
| 40 | vmw.gui = false | 43 | vmw.gui = false |
| 41 | 44 | ||
| @@ -43,6 +46,14 @@ Vagrant.configure(2) do |config| | |||
| 43 | vmw.memory = "512" | 46 | vmw.memory = "512" |
| 44 | end | 47 | end |
| 45 | 48 | ||
| 49 | config.vm.provider "vmware_fusion" do |vmf| | ||
| 50 | # Hide the vmfare GUI when booting the machine | ||
| 51 | vmf.gui = false | ||
| 52 | |||
| 53 | # Customize the amount of memory on the VM: | ||
| 54 | vmf.memory = "512" | ||
| 55 | end | ||
| 56 | |||
| 46 | # This script ensures the required packages for AVR programming are installed | 57 | # This script ensures the required packages for AVR programming are installed |
| 47 | # It also ensures the system always gets the latest updates when powered on | 58 | # It also ensures the system always gets the latest updates when powered on |
| 48 | # If this causes issues you can run a 'vagrant destroy' and then | 59 | # If this causes issues you can run a 'vagrant destroy' and then |
| @@ -53,14 +64,14 @@ Vagrant.configure(2) do |config| | |||
| 53 | 64 | ||
| 54 | config.vm.post_up_message = """ | 65 | config.vm.post_up_message = """ |
| 55 | Log into the VM using 'vagrant ssh' on OSX or from Git Bash (Win) | 66 | Log into the VM using 'vagrant ssh' on OSX or from Git Bash (Win) |
| 56 | or 'vagrant ssh-config' and Putty or another SSH tool | 67 | or 'vagrant ssh-config' and Putty or Bitvise SSH or another SSH tool |
| 57 | 68 | ||
| 58 | Change directory to the keyboard you wish to program | 69 | Change directory (cd) to the keyboard you wish to program |
| 59 | optionally and modify your layout, | 70 | (Optionally) modify your layout, |
| 60 | then run 'make clean' | 71 | then run 'make clean' |
| 61 | and then 'make' to compile the .eep and .hex files. | 72 | and then 'make' to compile the .eep and .hex files. |
| 62 | 73 | ||
| 63 | Or you can copy and paste the line below. | 74 | Or you can copy and paste the example line below. |
| 64 | 75 | ||
| 65 | cd /vagrant; cd keyboard; cd ergodox_ez; make clean; make | 76 | cd /vagrant; cd keyboard; cd ergodox_ez; make clean; make |
| 66 | 77 | ||
