BLHeli icon indicating copy to clipboard operation
BLHeli copied to clipboard

Feature request - BLHeli_32 Suite for non Windows based PC

Open TheMrJahn opened this issue 7 years ago • 158 comments

Hi,

There are a lot of other operating systems besides Windows platform. Why won't create additional versions of BLHeli_32 Suite for MacOS and Linux...

TheMrJahn avatar Aug 21 '18 09:08 TheMrJahn

@TheMrJahn: The problem is that the BLHeli_32 Suite seems to be written in Delphi, which has little to no portability to anything outside of Windows. So it would need a complete rewrite.

And unfortunately, the maintainers of BLHeli_32 refuse to open source their API, so other projects like @diehertz's BLHeli Configurator are prevented from jumping to the users' aid...

mikeller avatar Aug 21 '18 20:08 mikeller

BLHeliSuite32 is indeed written in Delphi, and it is not that easy to do a port, but it hopefully is not a complete rewrite required. There are already steps taken on the way, but there still also remain a lot of work to get all things running on MacOS and Linux.

4712 avatar Aug 21 '18 21:08 4712

So in addition to MacOS and Linux versions of BLHeliSuite32 being in the works, we are also working on an Android version of a BLHeli_32 tool. Here is what the prototype currently looks like: screenshot_20180811-085053

sskaug avatar Aug 22 '18 05:08 sskaug

@4712 @sskaug Great news, thanks for your work!

TheMrJahn avatar Aug 22 '18 20:08 TheMrJahn

any updates?

r1b4z01d avatar Feb 01 '19 16:02 r1b4z01d

We are working hard on the first beta version for Linux. Although there is no release date yet, it should not be too long. Hopefully this month.

4712 avatar Feb 02 '19 17:02 4712

Great! If you need any testers before beta PM me.

r1b4z01d avatar Feb 02 '19 17:02 r1b4z01d

PM me for beta testing on Linux if needed.

Hect0rG avatar Feb 20 '19 02:02 Hect0rG

I'd love to beta test for Linux as well.

RicBent avatar Feb 23 '19 22:02 RicBent

beta_900 Here a first beta for Linux. Tested with Ubuntu 18.04.2 LTS.

[Edit] updated beta version 0.9.0.3 BLHeliSuite32xLinux64_Beta_0903.zip

4712 avatar Mar 02 '19 13:03 4712

Gave it a quick spin, works out of the box on ubuntu 18.10. Good work!

mikeller avatar Mar 02 '19 13:03 mikeller

Wow, you're fast! Thanks!

4712 avatar Mar 02 '19 13:03 4712

Hehe, been waiting for it for a long time. :stuck_out_tongue_closed_eyes:

mikeller avatar Mar 02 '19 13:03 mikeller

Thank you @4712! Works great on Manjaro 18.0.3.

RicBent avatar Mar 02 '19 16:03 RicBent

any update for mac's?

skat0 avatar Mar 02 '19 16:03 skat0

Actually I found a bug. The music editor seems to break. It worked once and now I always get this: image and then when trying a second time image

RicBent avatar Mar 02 '19 16:03 RicBent

Thanks, I will try to reproduce. [Edit] I could not reproduce it here till now... Did a restart of the app help? {Edit2] OK found something ;) Need to dig into it ...

4712 avatar Mar 02 '19 16:03 4712

great to see a Linux version! I tried it on ubuntu 18.04 against a KakuteF4 running ArduPilot. Works nicely for config. When I try to flash an updated fw I get: image any idea what ssl library I need?

tridge avatar Mar 02 '19 20:03 tridge

@sskaug: Looks like there are some issues with library dependencies not being met. It's probably best in the long term to roll the linux app into .deb and .rpm installable packages for release, and have these packages declare the dependencies they require (VLC, openSSL). This will allow 95% of users to install the package without having to worry about dependencies.

mikeller avatar Mar 02 '19 21:03 mikeller

@tridge: Openssl 1.0.x is the right version. 1.1.x is not supported yet. @mikeller: I don't know, if packages will be possible, using Delphi FMX.

4712 avatar Mar 02 '19 21:03 4712

@sskaug: You could always build the executable with Delphi FMX, and then take the files and build the packages in a second step. We use gulp to build .deb and .rpm packages for Betaflight configurator, which might not be the best choice for you as it is geared towards JavaScript builds, but if you decide to go down that route I am happy to help.

mikeller avatar Mar 02 '19 21:03 mikeller

@RicBent please try updated version 0.9.0.1. Music editor close exception should be fixed now.

4712 avatar Mar 03 '19 10:03 4712

@4712 I still get the same errors with the access violation address changed to 0x6AC888. Just like with 0.9.0.0 the music editor worked for the first ESC but opening it a second time fails. Restarting the app alone has no effect but power cycling my quad and restarting the app allows using the editor a single time again.

RicBent avatar Mar 03 '19 12:03 RicBent

@RicBent now I got it, I usually edit music for the ESCs all together... but now I found the bug hopefully fixed it in rev 0.9.0.2. Also fixed an openssl lib load issue.

4712 avatar Mar 03 '19 16:03 4712

Works perfectly now. Thank you!

RicBent avatar Mar 03 '19 19:03 RicBent

OK so I almost embarassed to ask this but ... Trying to run the BLHeli32 Linux app on my Chromebook, don't own PC, only a Mac and a Chromebook. How do I start the Linux app from the Terminal window in Chromebook Linux VM?

Thanks Robert

TheFrisco avatar Mar 09 '19 19:03 TheFrisco

@TheFrisco: I suspect this won't work - while Chromebooks are running linux, what they are running is an extremely cut down version, with everything that is not needed to run Chrome removed - this most likely means that libraries that are part of every 'normal' linux distribution and are required by the BLHeli32 app aren't present on the Chromebook.

mikeller avatar Mar 09 '19 20:03 mikeller

@TheFrisco: I suspect this won't work - while Chromebooks are running linux, what they are running is an extremely cut down version, with everything that is not needed to run Chrome removed - this most likely means that libraries that are part of every 'normal' linux distribution and are required by the BLHeli32 app aren't present on the Chromebook.

Thanks for the quick response, and you are probably right but WHAT COMMAND would I even run from the Terminal app to start BLHeliSuite32?

TheFrisco avatar Mar 09 '19 20:03 TheFrisco

@TheFrisco: <path to wherever you installed it>/BLHeliSuite32xl

mikeller avatar Mar 09 '19 20:03 mikeller

@TheFrisco: <path to wherever you installed it>/BLHeliSuite32xl

oh gosh that worked, just needed to be outside the folder and voila ... now I need to see if anything connects LOL

THANKS A LOT!!!

TheFrisco avatar Mar 09 '19 21:03 TheFrisco