mattdibi / redox-keyboard

Ergonomic split mechanical keyboard
MIT License
1.82k stars 168 forks source link

"Cannot start service openocd" with macOS #113

Open daseintheworld opened 3 years ago

daseintheworld commented 3 years ago

Hi, I have tried programming both side of PCBs on macOS. It fails at running containers with "docker-compose up" command. I think error messages are related to udev.

Starting redox-w-firmware_openocd_1 ... error ERROR: for redox-w-firmware_openocd_1 Cannot start service openocd: error gathering device information while adding custom device "/dev/bus": no such file or directory

Do you think moving to a linux device is the only remedy? :(

mattdibi commented 3 years ago

Hi,

yeah unfortunately it seems to be quite hard to do. There's a weird VirtualBox trick but I never tried it. This is the first link a found and can't recall what the actual query was so I suggest you to keep on digging.

Hope this helps.

tomasz-bochenek-perform commented 3 years ago

In my case I've decided to roll back to the non-docker-based version in the repository: https://github.com/mattdibi/redox-keyboard/tree/1c5757389c0fc705b7f8c10168a5efc069b68620/redox-w and do everything "by hand". One note along the way: the mac os readlink command won't take -f params, so I just replaced it entirely with a hardcoded full path to precompiled-basic-left.hex