#Is there a video for downloading repositories for ZMK

1 messages · Page 1 of 1 (latest)

gaunt wind
#

Alright I need just a video I can bookmark to make downloading other peoples repositories easier. I have built 3 or 4 ZMK boards (using other peoples repositories) and everytime I feel there is a different way to do it. I have gotten so tired of trying to find the Github copy repo or debugging that after 4 hours of trying to figure it out I give up and have to bother someone to help me. I am getting tired of doing this. SO this is what I need

  • A ridiculously short straight to the point video on how to pull a repository
  • A Video that does not require some sort of terminal to do that
  • And have it be repeatable so I can use it even for obscure boards
    If someone could help me make one or make one for me I would appreciate it but I am not a coder and GIT has far too many widgets for me to get lost in. I wouldn't even say this is a ask for help this is a bloody plea. At the day all I want to do is upload my shield and use keymap editor.
#

I feel like this comes across as aggressive but every time I ask people give me as little information as possible because I get it this is a common problem, but if it is such a problem maybe there should be a simpler video for it. then some 20 min video of a person on a mac pulling up their custom panel of thier downloaded version of git

tidal vault
#

There shouldn't be a need to copy other people's repositories at all if they're setup properly. If they're using modules properly, then you should be able to just edit your config and be done with it.

#

If they're not using modules, annoy them until they do? 😁

olive prawn
#

What exactly do you want to do? Use someone else's keyboard with your keymap, or create your own keyboard definition?

#

Unfortunately making videos takes time, and they are very hard to keep up to date. That's why we have textual documentation 🙂

gaunt wind
# olive prawn What exactly do you want to do? Use someone else's keyboard with your keymap, or...

so I have sadeks sweeep36. I had a similar problem with the smidge but I want to download there keymap and zmk so I can open it on the keymap gui. Maybe I just have been given so many fixes that I am making it more difficult but every video I watch on ZMK has people opening there mac terminals whilst I am on windows or forking a project when mine only allows forking of the entire project folder instead of just the single board. so I am just lost

olive prawn
gaunt wind
tidal vault
gaunt wind
hallow pewter
olive prawn
#

I think you'll just need to create a swweeep.json file in the config folder for it to work

gaunt wind
hallow pewter
#

sorry I know what it is, I just meant I've never used it, so I don't know what is needed for it, beyond what's already in the repo

#

oh not addressed to me, sorry 😅

gaunt wind
#

I feel that in all honesty the problem is me. I know it is... but I am so tired of losing my mind over this stuff so as soon as I figure this out today I am making my own folder for steps because I just keep getting lost

olive prawn
#

I'll give you some step-by-step instructions that hopefully won't need a terminal, and that should get you going:

  1. Fork https://github.com/sadekbaroudi/zmk-config-fp-example
  2. Copy paste the contents of https://github.com/sadekbaroudi/zmk-fingerpunch-keyboards/blob/main/boards/shields/swweeep/swweeep.keymap into a file called config/swweeep.keymap in your fork
  3. Copy paste the following into a file called config/swweeep.json:
{
  "layouts": {
    "Default": {
      "layout": [
        { "x":  0, "y": 0 },
        { "x":  1, "y": 0 },
        { "x":  2, "y": 0 },
        { "x":  3, "y": 0 },
        { "x":  4, "y": 0 },
        { "x":  6, "y": 0 },
        { "x":  7, "y": 0 },
        { "x":  8, "y": 0 },
        { "x":  9, "y": 0 },
        { "x": 10, "y": 0 },
        { "x":  0, "y": 1 },
        { "x":  1, "y": 1 },
        { "x":  2, "y": 1 },
        { "x":  3, "y": 1 },
        { "x":  4, "y": 1 },
        { "x":  6, "y": 1 },
        { "x":  7, "y": 1 },
        { "x":  8, "y": 1 },
        { "x":  9, "y": 1 },
        { "x": 10, "y": 1 },
        { "x":  0, "y": 2 },
        { "x":  1, "y": 2 },
        { "x":  2, "y": 2 },
        { "x":  3, "y": 2 },
        { "x":  4, "y": 2 },
        { "x":  6, "y": 2 },
        { "x":  7, "y": 2 },
        { "x":  8, "y": 2 },
        { "x":  9, "y": 2 },
        { "x": 10, "y": 2 },
        { "x":  2, "y": 3 },
        { "x":  3, "y": 3 },
        { "x":  4, "y": 3 },
        { "x":  6, "y": 3 },
        { "x":  7, "y": 3 },
        { "x":  8, "y": 3 }
      ]
    }
  }
}
  1. Add the following to the end of build.yaml in your fork:
  - board: nice_nano_v2
    shield: swweeep_left
  - board: nice_nano_v2
    shield: swweeep_right
#

Hopefully you should be able to use that forked repo with keymap-editor afterwards

gaunt wind
#

I am trying to figure out if I can make this work

#

I am just going to take a break. will this board work 🤷‍♂️ but I have been trying to work this out for 5 or 6 hours and I am at my wits end.

tidal vault
#

Maybe you could share what you have done?

gaunt wind
tidal vault
#

So even though your keyboard is called sweep36, the name the firmware has for it is "swweeep". You'll want to rename your files to match (case and everything)

gaunt wind
#

ok

tidal vault
#

you also want to undo your changes to config/west.yml - add those lines to build.yaml instead

#

You've now named it "Swweep36". It has to be "swweeep". Two w's, 3 e's, no numbers, all lowercase.

gaunt wind
#

k

tidal vault
# gaunt wind something like that?

You removed the last two lines from west.yml - the self and path lines. west.yml should be identical to what you forked. You also replaced the stuff in build.yaml, you needed to add it to the end instead.

#

It's picky I know, you need to be careful and precise with your edits or you'll just end up breaking more things and that's how you get endless frustration

gaunt wind
#

alright... I made those changes

#

I think

tidal vault
#

Now you get to test if it works fine with the keymap editor

gaunt wind
tidal vault
#

Though I personally would recommend just editing the file directly... good chance it'd be easier if all the boards you're making have similar layouts

gaunt wind
#

just kidding works like a charm

tidal vault
#

You should be able to do any other boards you want by just adding their module info to the west.yml like the modules page describes, editing the build.yaml, and copypasting the example keymap into the config. At least up to the keymap editor step

olive prawn
gaunt wind
#

alright I see. I am going to continue to work on this. and get myself some extra dumbed out notes so that next time this happens I can just copy what is needed then go from their ya'll have been very helpful thank you

gaunt wind
#

@tidal vault I have delt with this problem before but what happens if both halfs aren't talking?

#

everything else is working

tidal vault
# gaunt wind <@144163303546028032> I have delt with this problem before but what happens if b...

My approach is to first do a settings reset and reflash. If that doesn't help, another settings reset then to adjust the keyboard's definition so that the right hand side is the main and the left hand side is the peripheral. Then try connecting to the keyboard with another device again, this verifies that both halves have a working antenna. If that's the case then your configuration settings are screwy somewhere, so I'd dig through the docs on configuration and look at the kconfig/.conf files, though that's a lot more involved than you seem willing to go.

#

!troubleshooting

cloud parcelBOT
gaunt wind
olive prawn
#

You need to follow the settings reset procedure if you are reusing them

gaunt wind
#

new code and all.

#

I do keep getting this as a error though

tidal vault
gaunt wind
tidal vault
gaunt wind
#

I see ok yes I am uploading that now

#

ok I think I did it wrong I got an error

gaunt wind
#

so now that I can at least type with these sort of I know I am sort of close

#

I think I am only a f3w mods away and this could be a board I main

#

I think I just forgot the tail end the =y

#

@tidal vault the fix didn't work

#

it is still requiring code for it to pair

tidal vault
gaunt wind
#

oh interesting. well I will try it

gaunt wind
#

that won't work the reset is too fast. I wonder if there is a reset on the PC side for this

olive prawn
#

What reset?

#

You need to type it in with your keyboard, not put it in code, to clarify

gaunt wind
#

this might be self caused because I have screwed with this laptop a TON

#

alright that is a bit annoying but it works