#Zaphod firmware unable to build

1 messages · Page 1 of 1 (latest)

rare loom
#

Hey good morning all, I am trying to update the firmware on my Zaphod (original, not lite) and some change in the last year or two has caused the existing project workflow to not work for me. I ran through some basic troubleshooting (github actions config uses a deprecated version of actions/upload-artifact and actions/cache) but was unable to progress past a device tree error indicating an issue with a blank file.

Steps to reproduce:

  1. Create a fresh fork of https://github.com/petejohanson/zaphod-config
  2. Attempt to run Build Test (fails due to deprecation as mentioned above)
  3. Update build.yml (actions/cache > v4, actions/upload-artifact > v4)
  4. Build test fails again at Build Zaphod (west build) step with cmake error after "Kconfig.zephyr:29: '/__w/zaphod-config/zaphod-config/build/zaphod/Kconfig/soc/Kconfig.defconfig' not found (in 'source "$(KCONFIG_BINARY_DIR)/soc/Kconfig.defconfig"'). Check that environment variables are set correctly (e.g. $srctree, which is set to '/__w/zaphod-config/zaphod-config/zephyr'). Also note that unset environment variables expand to the empty string."

Please let me know if there is any other info I can provide to help. Thank you!

GitHub

Contribute to petejohanson/zaphod-config development by creating an account on GitHub.

wet swift
#

Let me fix it up for you, will need a bit

rare loom
#

awesome, thanks so much! I didn't expect this small issue would get attention from the man himself haha

wet swift
#

It was my first design I released. It's my baby. 😀

wet swift
rare loom
#

@wet swift works great! just flashed with no issues

wet swift
#

Ok, that's pinned to the latest proper ZMK release, so I'll merge this as-is, then I'll tag a release, and get that repo setup to work on ZMK main as well.

#

Ok, tagged a release, the "right" way to do this would be create your own config repo with the zmk cli and then depend on this repo as a module.

#

But of course you can also still fork it.

rare loom
#

Great thanks! Tested my keymap and it's 100% working, thanks so much for the help!