[Keyboard] Add Xiaomi MK02 (#7825)
* [Keyboard] Added xiaomi/mk02 * keyboards/xiaomi/mk02: cleanup * keyboards/xiaomi/mk02: add linker script * update readme * update * remove via (crashes during startup) * LAYOUT => LAYOUT_tkl_ansi * Change vid/pid * Add a warning to the readme
This commit is contained in:
parent
09b4457bf2
commit
21d6cb18ed
10 changed files with 1375 additions and 0 deletions
8
keyboards/xiaomi/mk02/mk02.c
Normal file
8
keyboards/xiaomi/mk02/mk02.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include "mk02.h"
|
||||
|
||||
void bootloader_jump(void) {
|
||||
uint32_t *magic_address = (void*)0x20000FFC;
|
||||
*magic_address = 0x626c6472;
|
||||
|
||||
NVIC_SystemReset();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue