Clone foostan/kbd_firmware
git clone --recursive https://github.com/foostan/kbd_firmware
Clone this repository
cd kbd_firmware/keyboards/crkbd/qmk/qmk_firmware/keymaps
git clone https://github.com/kjuq/corne_keymap
Build
cd corne_keymap
./build.sh
Clone qmk/qmk_firmware
first
git clone --recursive https://github.com/qmk/qmk_firmware
Then clone foostan/kdb_firmware
git clone --recursive https://github.com/foostan/kbd_firmware
Copy components in kbd_firmware
to qmk_firmware
cd qmk_firmware/keyboards
mkdir crkbd
cd crkbd
cp -r kbd_firmware/keyboards/crkbd/qmk/qmk_firmware/* .
Clone this repository
cd qmk_firmware/keyboards/crkbd/keymaps
git clone https://github.com/kjuq/corne_keymap
Build
./build_qmk.sh
To use clangd and suppress inconpatible flags' errors
nvim qmk_firmware/.clangd
Append them to CompileFlags/Remove
---
CompileFlags:
Remove:
- -mcpu=*
- -mfpu=*
- -mfloat-abi=*
- -mno-unaligned-access
It should be like below
CompileFlags:
Add: [-Wno-unknown-attributes, -Wno-maybe-uninitialized, -Wno-unknown-warning-option]
Remove: [-W*, -mcall-prologues]
Compiler: clang
---
CompileFlags:
Remove:
- -mcpu=*
- -mfpu=*
- -mfloat-abi=*
- -mno-unaligned-access
- Add the way to build the firmware with docker