Last active
July 17, 2019 01:43
-
-
Save Lordnibbler/9d0807a123d21e0eedcc2211f0621ea9 to your computer and use it in GitHub Desktop.
Revisions
-
Lordnibbler revised this gist
Apr 13, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ ## How to use BLHeli Suite on Mac OS X 1. [download & install winebottler](http://winebottler.kronenberg.org) 1. save list of devices connected to computer ```sh ls /dev/* > /tmp/usbtmp1 -
Lordnibbler renamed this gist
Apr 13, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ ## How to use BLHeli Suite on Mac OS X 1. save list of devices connected to computer ```sh ls /dev/* > /tmp/usbtmp1 -
Lordnibbler revised this gist
Apr 13, 2016 . 1 changed file with 34 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,41 @@ 1. save list of devices connected to computer ```sh ls /dev/* > /tmp/usbtmp1 ``` 1. plug in quadcopter over USB > note: must have [USB to UART drivers] (http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx) installed for cleanflight 1. save list of devices to a different file ```sh ls /dev/* > /tmp/usbtmp2 ``` 1. diff the two lists of devices we saved, copy these > note: this may be different for you ```sh diff /tmp/usbtmp1 /tmp/usbtmp2 # > /dev/cu.SLAB_USBtoUART # > /dev/tty.SLAB_USBtoUART ``` 1. symlink both devices, one as com1, and the other as com2 ```sh ln -s /dev/cu.SLAB_USBtoUART com1 ln -s /dev/tty.SLAB_USBtoUART com2 ``` 1. get the full path to your wine binary and your downloaded BlHeliSuite.exe app ```sh /Applications/Wine.app/Contents/Resources/bin/wine /Users/ben/Downloads/BLHeliSuiteBeta144051/BLHeliSuite.exe ``` 1. open automator 1. new document 1. application 1. search -> run shell script 1. paste full path from previous step 1. save somewhere as BLHeli.app 1. run the app! -
Lordnibbler created this gist
Apr 13, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ # save list of devices connected to computer ls /dev/* > /tmp/usbtmp1 # plug in quadcopter over USB (must have [USB to UART drivers](http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx) installed for cleanflight) # save list of devices to a different file ls /dev/* > /tmp/usbtmp2 # diff the two lists of devices we saved, copy these # note: this may be different for you diff /tmp/usbtmp1 /tmp/usbtmp2 > /dev/cu.SLAB_USBtoUART > /dev/tty.SLAB_USBtoUART # symlink both devices, one as com1, and the other as com2 ln -s /dev/cu.SLAB_USBtoUART com1 ln -s /dev/tty.SLAB_USBtoUART com2 # get the full path to your wine binary and your downloaded BlHeliSuite.exe app /Applications/Wine.app/Contents/Resources/bin/wine /Users/ben/Downloads/BLHeliSuiteBeta144051/BLHeliSuite.exe # open automator # new document # application # search -> run shell script # paste full path from previous step # save somewhere as BLHeli.app # run the app!