ExpressLRS-Configurator icon indicating copy to clipboard operation
ExpressLRS-Configurator copied to clipboard

macOS ARM testing & support

Open jurgelenas opened this issue 3 years ago • 5 comments

I have no macOS arm-based hardware that I can access, but I have received a report that DFU based flashing does not work there.

Potential issues to look at:

  1. Platformio arm support
  2. Maybe need native git & python binaries at dependencies
  3. Electron.js ARM support

The best-case scenario is to have a native app for ARM-based macs :)

jurgelenas avatar Aug 19 '21 05:08 jurgelenas

One of the bug reports for DFU based flashing I have received:

dyld[19538]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: /Users/tom/.platformio/packages/tool-dfuutil/bin/dfu-util
  Reason: tried: '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libusb-1.0.0.dylib' (no such file), '/usr/lib/libusb-1.0.0.dylib' (no such file), '/opt/homebrew/Cellar/libusb/1.0.24/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libusb-1.0.0.dylib' (no such file), '/usr/lib/libusb-1.0.0.dylib' (no such file)
*** [upload] Error -6

jurgelenas avatar Aug 19 '21 05:08 jurgelenas

I suppose that reason of those issues might be in that only Python 3.9.1 and greater is supported on Apple M1. Can we migrate somehow for test?

basters avatar Aug 21 '21 20:08 basters

@jurgelenas Could you provide an example of devices/processes? I can investigate this issue with my M1 Pro and resolve it.

kklimczak avatar Feb 14 '22 12:02 kklimczak

@jurgelenas Could you provide an example of devices/processes? I can investigate this issue with my M1 Pro and resolve it.

From what I was hearing ExpressLRS Configurator was working fine under the Rosetta?

jurgelenas avatar Feb 14 '22 13:02 jurgelenas

@jurgelenas Could you provide an example of devices/processes? I can investigate this issue with my M1 Pro and resolve it.

From what I was hearing ExpressLRS Configurator was working fine under the Rosetta?

well, the context was https://github.com/ExpressLRS/ExpressLRS-Configurator/issues/44#issuecomment-901616573 - is this fixed?

gretel avatar Feb 14 '22 14:02 gretel