Allow passthru of Teensy to Virtualbox for programming

master
dragon788 2016-01-17 16:08:47 -06:00
parent 67f7507d7c
commit ceb7257a9d
1 changed files with 11 additions and 5 deletions

8
Vagrantfile vendored
View File

@ -30,7 +30,13 @@ Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |vb|
# Hide the VirtualBox GUI when booting the machine
vb.gui = false
vb.customize ['modifyvm', :id, '--usb', 'on']
vb.customize ['usbfilter', 'add', '0',
'--target', :id,
'--name', 'teensy',
'--vendorid', '0x16c0',
'--productid','0x0478'
]
# Customize the amount of memory on the VM:
vb.memory = "512"
end