-
Sorry to bother you again. I'm almost afraid to ask why this isn't working because I actually had it working until I decided to rename the files. But renaming them back didn't help and I've been at it for hours. When I run the command
I get the error
As if my keymap file isn't there. build.yaml
I'm kinda lost on this one, and it's probably something really stupid. The other boards in the list work just fine. I've made sure the file names are correct and did a few |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Not entirely sure what's going on but I found out how to fix it. When I add a new board / rename an existing one I have to call:
before I call
or else it will keep failing. |
Beta Was this translation helpful? Give feedback.
-
Are you sure your # build.yaml
include:
- board: nice_nano
shield: myboard Regarding your observation that west build -b $board ... where west build -b mybord -b nice_nano My guess the reason it works is that the second |
Beta Was this translation helpful? Give feedback.
-
I did try that actually but I couldn't get it to work. I think it's because I'm not extending an existing shield in zmk. It's a pcb I made myself. As far as I can see the keyboards in your config are all already defined in zmk itself. If my config looks like this
Keyboard is called And I do a clean and build like this:
I get an error:
I think this might also be the reason why I the bluetooth isn't working because the kconfig files are not in there. I still have to figure out how to put them there. If I use my old zmk installation which is in fact a fork of your https://github.com/urob/zmk repo I would just throw the shield config inside the zmk folder like so: And it would work out of the box with bluetooth when I make a build with
But I'm trying to get away from just throwing the configs inside zmk because the fork is so old now I'm having trouble updating to the latest version. Too many conflicts. But maybe it makes more sense to build my own config based on ideas from yours instead of trying to force my usecase onto this one? Thanks for taking the time btw! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
It sounds like it is the latter issue then.