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
View all comments
Show parent comment
2
u/m147 Jan 11 '24
Hey, thanks for the detailed reply. It's quite informative.
I was able to solve my issue with the help of the guys on QMK discord.
It was as you mentioned VIA overriding setting from the EEPROM.
I was able to get around this by adding
BOOTMAGIC_ENABLE = yestorules.mkThis allows me to use the ESC button to get into DFU mode, much better than having to pry up the space bar every time.