Skip to content

Instantly share code, notes, and snippets.

@Lordnibbler
Last active July 17, 2019 01:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lordnibbler/9d0807a123d21e0eedcc2211f0621ea9 to your computer and use it in GitHub Desktop.
Save Lordnibbler/9d0807a123d21e0eedcc2211f0621ea9 to your computer and use it in GitHub Desktop.

How to use BLHeli Suite on Mac OS X

  1. download & install winebottler

  2. save list of devices connected to computer

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
ls /dev/* > /tmp/usbtmp2
  1. 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
  1. 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
  1. 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. open automator
  2. new document
  3. application
  4. search -> run shell script
  5. paste full path from previous step
  6. save somewhere as BLHeli.app
  7. run the app!
@adamzaninovich
Copy link

This is awesome; thank you so much for making this! I have been wishing for a way to configure BLHeli without Windows for a while, and I can't believe I forgot about Wine.

Just a small suggestion: step 6 should maybe be

ln -s /dev/cu.SLAB_USBtoUART $HOME/.wine/dosdevices/com1
ln -s /dev/tty.SLAB_USBtoUART $HOME/.wine/dosdevices/com2

@muadibbles
Copy link

thanks for posting this! Worked a charm.

@biggestRCEfan
Copy link

biggestRCEfan commented Dec 20, 2017

With Chrome app support ending, I need this for blhelisuite. However I am stuck on an error related to freetype fonts when installing wine. Any ideas?

@tomgreever
Copy link

I have a similar error, err:syslink:SYSLINK_SetFont Failed to create link font! - any suggestions?

@johnelliott
Copy link

Haven't tried, but there may be a native MacOS version now: bitdump/BLHeli#324 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment