A minimal firmware for the Keychron K8 Pro keyboard
- Complete USB/Bluetooth support
- Firmware upgrade via USB
- Easily customizable light effects
- make the build directory
mkdir build && cd build
- make the build system, adding paths for the arm-none-eabi- toolchain
cmake -DCMAKE_C_COMPILER:FILEPATH=<path> -DCMAKE_CXX_COMPILER:FILEPATH=<path> -DCMAKE_LINKER:FILEPATH=<path> -DCMAKE_OBJCOPY:FILEPATH=<path> ..
- build the project
make
- flash the firmware using a tool of your choice (openocd/STM32CubeProgrammer)
After the first Nanokey flash, it will be possible to boot to DFU keeping ESC pressed at startup or using FN+INS shortcut.
- USB protocol
- Bluetooth features
- Battery management with emergency sleep state
- Improve the timing, removing the delayms in the event loop
- Implement non-volatile storage
- Implement brightness control
- Implement OS switch feature (Win/MacOS)
- Use the three keys in the top-right corner of the keyboard (now unmapped)
- Implement consumer keys
- Implement recordable macros
- Make the device customizable by a standard user via gui app
- Rewrite the BT module firmware and its protocol
Feel free to improve the code and ask for a pull request
This project contains some STM and Keychron code.
Please refer to the licensing information contained in the relevant directories.
