aboutsummaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-06-04 00:10:47 -0400
committerJack Humbert <jack.humb@gmail.com>2016-06-04 00:10:47 -0400
commitb36e532b5e0eef219f33075e6e60b68d104484ee (patch)
tree6979225bc1c87f339b358945ec2558c396da4530 /Vagrantfile
parent189a3b02fb7b43c6bc28271ee0c0bf9eb16810bf (diff)
downloadqmk_firmware-b36e532b5e0eef219f33075e6e60b68d104484ee.tar.gz
qmk_firmware-b36e532b5e0eef219f33075e6e60b68d104484ee.zip
cleans up folder structure
* consolidates docs * deletes converter/ * updates .md references (most)
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile88
1 files changed, 0 insertions, 88 deletions
diff --git a/Vagrantfile b/Vagrantfile
deleted file mode 100644
index 1abe8ff3b..000000000
--- a/Vagrantfile
+++ /dev/null
@@ -1,88 +0,0 @@
1# -*- mode: ruby -*-
2# vi: set ft=ruby :
3
4Vagrant.configure(2) do |config|
5 # You can only have one config.vm.box uncommented at a time
6
7 # Comment this and uncomment another if you don't want to use the minimal Arch box
8 config.vm.box = "dragon788/arch-ala-elasticdog"
9
10 # VMware/Virtualbox 64 bit
11 # config.vm.box = "phusion/ubuntu-14.04-amd64"
12 #
13 # VMware/Virtualbox 64 bit
14 #config.vm.box = "puphpet/centos65-x64"
15 #
16 # The opensuse boxes don't have dfu-util in their default repositories
17 #
18 # The virtualbox version has tools issues
19 # VMware/Virtualbox 64 bit
20 #config.vm.box = "bento/opensuse-13.2-x86_64"
21 #
22 # Virtualbox only
23 #config.vm.box = "bento/opensuse-13.2-i386"
24 # config.vm.box = ""
25 # config.vm.box = ""
26
27 # This section allows you to customize the Virtualbox VM
28 # settings, ie showing the GUI or upping the memory
29 # or cores if desired
30 config.vm.provider "virtualbox" do |vb|
31 # Hide the VirtualBox GUI when booting the machine
32 vb.gui = false
33 # Uncomment the below lines if you want to program
34 # your Teensy via the VM rather than your host OS
35 #vb.customize ['modifyvm', :id, '--usb', 'on']
36 #vb.customize ['usbfilter', 'add', '0',
37 # '--target', :id,
38 # '--name', 'teensy',
39 # '--vendorid', '0x16c0',
40 # '--productid','0x0478'
41 # ]
42 # Customize the amount of memory on the VM:
43 vb.memory = "512"
44 end
45
46 # This section allows you to customize the VMware VM
47 # settings, ie showing the GUI or upping the memory
48 # or cores if desired
49 config.vm.provider "vmware_workstation" do |vmw|
50 # Hide the VMware GUI when booting the machine
51 vmw.gui = false
52
53 # Customize the amount of memory on the VM:
54 vmw.memory = "512"
55 end
56
57 config.vm.provider "vmware_fusion" do |vmf|
58 # Hide the vmfare GUI when booting the machine
59 vmf.gui = false
60
61 # Customize the amount of memory on the VM:
62 vmf.memory = "512"
63 end
64
65 # This script ensures the required packages for AVR programming are installed
66 # It also ensures the system always gets the latest updates when powered on
67 # If this causes issues you can run a 'vagrant destroy' and then
68 # add a # before ,args: and run 'vagrant up' to get a working
69 # non-updated box and then attempt to troubleshoot or open a Github issue
70
71 config.vm.provision "shell", run: "always", path: "avr_setup.sh", args: "-update"
72
73 config.vm.post_up_message = """
74 Log into the VM using 'vagrant ssh' on OSX or from Git Bash (Win)
75 or 'vagrant ssh-config' and Putty or Bitvise SSH or another SSH tool
76
77 Change directory (cd) to the keyboard you wish to program
78 (Optionally) modify your layout,
79 then run 'make clean'
80 and then 'make' to compile the .eep and .hex files.
81
82 Or you can copy and paste the example line below.
83
84 cd /vagrant; cd keyboard; cd ergodox_ez; make clean; make
85
86
87 """
88end