diff options
author | dragon788 <github@deik.me> | 2016-01-17 17:13:08 -0600 |
---|---|---|
committer | dragon788 <github@deik.me> | 2016-01-17 17:13:08 -0600 |
commit | 6774167900c93165fe39c80c47c566d6779021f8 (patch) | |
tree | e02a1c7d79d4deab48a9d4911c37e78778952ff2 | |
parent | ceb7257a9d9a0ed5a20af183f421285a2db36e62 (diff) | |
download | qmk_firmware-6774167900c93165fe39c80c47c566d6779021f8.tar.gz qmk_firmware-6774167900c93165fe39c80c47c566d6779021f8.zip |
Command line programming not default, enable by reading quickstart and comments in Vagrantfile
-rw-r--r-- | QUICK_START.md | 2 | ||||
-rw-r--r-- | Vagrantfile | 16 |
2 files changed, 11 insertions, 7 deletions
diff --git a/QUICK_START.md b/QUICK_START.md index 60daba5749..6be377db3c 100644 --- a/QUICK_START.md +++ b/QUICK_START.md @@ -21,3 +21,5 @@ See [doc/keymap.md](tmk_core/doc/keymap.md). ## Flashing the firmware The "easy" way to flash the firmware is using a tool from your host OS like the Teensy programming app. [ErgoDox EZ](keyboard/ergodox_ez/README.md) gives a great example. + +If you want to program via the command line you can uncomment the ['modifyvm'] lines in the Vagrantfile to enable the USB passthrough into Linux and then program using the command line tools like dfu-util/dfu-programmer or you can install the Teensy CLI version. diff --git a/Vagrantfile b/Vagrantfile index 4544386d0b..1abe8ff3b1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -30,13 +30,15 @@ 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'
- ]
+ # Uncomment the below lines if you want to program
+ # your Teensy via the VM rather than your host OS
+ #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
|