#Error Installing Host Tools

1 messages · Page 1 of 1 (latest)

broken owl
#

Hello, I'm following the docs here https://docs.zephyrproject.org/3.2.0/develop/getting_started/index.html#install-zephyr-sdk

When I run the setup script on my Mac, I'm getting the following error:

Register Zephyr SDK CMake package [y/n]? y

Installing host tools ...
SKIPPED: macOS host tools are not available yet.

Registering Zephyr SDK CMake package ...
Zephyr-sdk (/Users/johnwood/zephyr-sdk-0.15.0/cmake)
has been added to the user package registry in:
~/.cmake/packages/Zephyr-sdk\

Any thoughts on what could be wrong here?

sick cosmos
pseudo heath
broken owl
#

I'm also very new to running ZMK like this so I could definitely be missing something extremely simple

pseudo heath
#

Sounds like the toolchain didn't install, perhaps

#

Not providing instructions for a Github build is a bit annoying on their part; it isn't that difficult to provide a config repo that users can fork from

broken owl
#

When you say toolchain, you are referring to the Zephyr SDK or something else?

#

There is a branch for the build I'm trying to run git checkout tornblue_r1]

fleet cape
broken owl
#

Unfortunately it's the same story. I've gone through these steps a few times and get the same results.

pseudo heath
#

When you have a config repo, it is also much easier to have Github build your firmware -- this is the encouraged approach by ZMK since setting up the local build can be pretty hairy

pseudo heath
#

You can get the firmware files from the "Actions" tab by selecting the latest build and downloading the firmware zip (when you are logged on to github)

#

Obviously I don't have the hardware to try, so let me know if you try it and if it works, or doesn't

broken owl
#

Wow. First of all, thank you for helping out here. This is huge. I've never made it this far.

I downloaded the uf2 files and attempted to copy them onto the boards. I'm getting this error:

The Finder can’t complete the operation because some data in “tornblue_left-zmk.uf2” can’t be read or written.
(Error code -36)
#

There are some leds lighting up on the board which makes me think it recognized some of the firmware, but it doesn't appear to work otherwise.

pseudo heath
#

I believe the copy error is a red herring, it is flashing but the controller disconnects earlier than the OS expects it to

#

But not working doesn't sound good 😄

#

To confirm, if you connect the left half with USB does it show up as a USB keyboard? If so, do the keys on left half do anything?

#

One thing I realized is that if you are just building the keyboard then it could always be a hardware issue. So it would be good to test with a known good firmware. Maybe someone on the Torn server has one you can try?

broken owl
#

Great idea. I connected the left side and both work when it is plugged in. I can't get them to connect via bluetooth but I might need to go through the instructions to get that working.

#

Another dumb question, how do I look at and configure the keymap on this? Do I need to fork your repo, edit tornblue-config/boards/arm/tornblue/tornblue.keymap and then run the GH action to create the firmware?

#

Another interesting finding is that my computer first discovers the split keyboard as tornblue-left and then switches to corneish-zen as the names.

pseudo heath
#

Zen thing is weird. Did you have a Zen paired to this computer before?

calm belfry
#

fwiw, i have seen something similar recently, too, for other boards. the keyboard appears to be advertising the name of another keyboard until you connect to it. i had suspected some os caching issue rather than zmk. but it wasn't easily reproducible, so i didn't dig much further. (i'm on macos 14.3.)

pseudo heath
#

Maybe some OS caching related to device PID/VID

broken owl
#

I believe the zen is the default name given to the PCB when it came out of the box. I don't know why it's sticking though.

calm belfry