Skip to content

Instantly share code, notes, and snippets.

@Lordnibbler
Last active July 17, 2019 01:43
Show Gist options
  • Save Lordnibbler/9d0807a123d21e0eedcc2211f0621ea9 to your computer and use it in GitHub Desktop.
Save Lordnibbler/9d0807a123d21e0eedcc2211f0621ea9 to your computer and use it in GitHub Desktop.

Revisions

  1. Lordnibbler revised this gist Apr 13, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions how_to_blheli_mac_osx.md
    Original 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
  2. Lordnibbler renamed this gist Apr 13, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions blheli_mac.md → how_to_blheli_mac_osx.md
    Original 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
  3. Lordnibbler revised this gist Apr 13, 2016. 1 changed file with 34 additions and 22 deletions.
    56 changes: 34 additions & 22 deletions blheli_mac.md
    Original file line number Diff line number Diff line change
    @@ -1,29 +1,41 @@
    # save list of devices connected to computer
    ls /dev/* > /tmp/usbtmp1
    1. save list of devices connected to computer
    ```sh
    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)
    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
    # save list of devices to a different file
    ls /dev/* > /tmp/usbtmp2
    1. save list of devices to a different file
    ```sh
    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
    1. diff the two lists of devices we saved, copy these
    > note: this may be different for you
    > /dev/cu.SLAB_USBtoUART
    > /dev/tty.SLAB_USBtoUART
    ```sh
    diff /tmp/usbtmp1 /tmp/usbtmp2

    # 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
    # > /dev/cu.SLAB_USBtoUART
    # > /dev/tty.SLAB_USBtoUART
    ```

    # 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
    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
    ```

    # open automator
    # new document
    # application
    # search -> run shell script
    # paste full path from previous step
    # save somewhere as BLHeli.app
    # run the app!
    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!
  4. Lordnibbler created this gist Apr 13, 2016.
    29 changes: 29 additions & 0 deletions blheli_mac.md
    Original 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!