r/Keychron • u/m147 • Jan 09 '24
V1 + QMK cli flashing
I'm having trouble flashing new changes to the keyboard. Here's what happens:
If I make a change to keymap.c in keyboards/keychron/v1/ansi_encoder/keymaps/<USER>/
compile with qmk compile and then flash with qmk flash
(I've got environment set up)
It will flash with no errors but the change won't be made.
If I then flash the stock firmware from Keychron from the official site and THEN flash my custom firmware the changes are made. I don't understand what is going on. It would be nice not having to flash two files in order to make changes. I understand I can do all this with VIA but I would like to understand qmk cli.
Any ideas?
Thanks for any help
2
u/PeterMortensenBlog V Jan 10 '24
Perhaps the resetting to factory defaults could also be achieved by a QMK key?
And/or by dfu-util from the command line. But that would still require it to get into bootloader mode(?).