]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Command line programming not default, enable by reading quickstart and comments in...
authordragon788 <github@deik.me>
Sun, 17 Jan 2016 23:13:08 +0000 (17:13 -0600)
committerdragon788 <github@deik.me>
Sun, 17 Jan 2016 23:13:08 +0000 (17:13 -0600)
QUICK_START.md
Vagrantfile

index 60daba5749ad7ec16e3520482a9094418488f0dc..6be377db3c5f83be5747b394fb9fe0e03778621a 100644 (file)
@@ -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.
index 4544386d0bde117f0f1346f9b07adb02b138d037..1abe8ff3b1dd43236ff4398818d1c37aa4e2bfa4 100644 (file)
@@ -30,13 +30,15 @@ Vagrant.configure(2) do |config|
   config.vm.provider "virtualbox" do |vb|\r
     # Hide the VirtualBox GUI when booting the machine\r
     vb.gui = false\r
-    vb.customize ['modifyvm', :id, '--usb', 'on']\r
-    vb.customize ['usbfilter', 'add', '0',\r
-                 '--target', :id,\r
-                 '--name', 'teensy',\r
-                 '--vendorid', '0x16c0',\r
-                 '--productid','0x0478'\r
-                ] \r
+    # Uncomment the below lines if you want to program\r
+    # your Teensy via the VM rather than your host OS\r
+    #vb.customize ['modifyvm', :id, '--usb', 'on']\r
+    #vb.customize ['usbfilter', 'add', '0',\r
+    #            '--target', :id,\r
+    #            '--name', 'teensy',\r
+    #            '--vendorid', '0x16c0',\r
+    #            '--productid','0x0478'\r
+    #           ] \r
     # Customize the amount of memory on the VM:\r
     vb.memory = "512"\r
   end\r