Modified version of kittipong-y/bmk-sdk however this avoids the Segger embedded studio as there is a make file.
Bluetooth mechanical keyboard firmware for nRF52 SoC using nRF5 SDK
(from bmk)
- Basic functionality.
- Basic keys.
- Shifted keys.
- Multi-layer support.
- Master-to-slave link.
- Devices connectivity. Can connect up to 3 devices and switch between them.
- Low power mode (low power idle state).
- Media keys.???
(kwakeham)
- S132 - good ole S132
- S332 - For, reasons
- clean master files so it's more readable
- BlueMicro? Probably still, nothing changed enough to avoid this
- nrf52-dk dev kit
- ErgoTravel? Probably
-
Get GCC for embedded working from this tutorial. Make sure to get your tool chain setup and edit the /components/toolchain/gcc windows/mac/linux files for your os. Version and folders are important.
-
Download and extract nrf5 sdk into a proper folder along with this project. It should look like this:
. +-- nrf5_sdk (This folder contains all contents of nRF5 SDK.) | +-- components | +-- config | +-- documentation | +-- ... +-- bmk-sdk (This project folder.) +-- src +-- ...
All referenced source files and headers will be resolved to folder nRF5_SDK above.
This is tested on SDK 15.3.0 with S132 6.1.1 but remember, nordic makes radical changes to the SDK breaking stuff all the time. Be careful with new revisions.
-
Open folder in vscode (or editor of your preference).
-
Build and flash your firmware using commandline 'make' in the PCA10040/S132/armgcc folder.