-
1Environment setup
For the simulation version (proj_sim in github repo), Keil free version (4kB limited) and gcc toolchain are need.
For the hardware version (proj_mb in github repo), GNU assembler and make tool are needed, (Ubuntu 16.04 is used but not mandatory, sudo apt-get install build-essential).
To calculate the hash value of a word name in assembly code, there are two elisp functions that can be used in Emacs.
-
2For Mickey Board (some links are in Chinese only)
1) Buy a Mickey Board (https://item.taobao.com/item.htm?spm=a230r.1.14.1.1ff67ad2Sr20a7&id=546117969332&ns=1&abbucket=20#detail), switches, case and so on, assemble them into a Keyboard. The assembly method can refer to GH60.
2) Generate keyboard layout file using TKG (https://tkg.btsmartshield.com/)
3) Generate BACK hex, run make under the proj_mb,back.hex can be found under proj_mb/_build
4) Generate firmware zip by uploading the layout binary code and back.hex, upload the firmware with nRF Connect App on iOS or Android.
-
3For simulation (may be broken in recent version as we don't test for simulation)
Open the Keil project in proj_sim, Ctrl+F5 to start debug session.
Input/output would be In the UART window.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.