logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

readme.md (6800B)


  1. # M65
  2. ![M65](https://i.imgur.com/gXuecush.jpg)
  3. A (13x5) ortholinear keyboard that can be hand wired or using a pcb.
  4. * Keyboard Maintainer: [Alin Elena](https://github.com/alinelena) ([@drFaustroll on GitLab](https://gitlab.com/drFaustroll))
  5. * Hardware Supported: custom pcb [see](https://gitlab.com/m-lego/m65) STM/APM32F103C8T6, aka Black Pill (rev1),
  6. GD32F303CCT6 from we act aka Blue Pill Plus (rev2), STM32F401 from we act (rev3,rev4) STM32F411 can also be used just ask
  7. * Hardware Availability: [custom how to](https://mlego.elena.space/m65)
  8. Make example for this keyboard (after setting up your build environment):
  9. For rev1
  10. make mlego/m65/rev1:default
  11. Flashing example for this keyboard:
  12. make mlego/m65/rev1:default:flash
  13. To enter flashing mode, press Lower+Raise+R.
  14. For rev2
  15. make mlego/m65/rev2:default
  16. Flashing example for this keyboard:
  17. make mlego/m65/rev2:default:flash
  18. To enter flashing mode, on microcontroller keep pressed KEY and then NRST, release NRST and then after 1s release KEY.
  19. For rev3
  20. make mlego/m65/rev3:default
  21. Flashing example for this keyboard:
  22. make mlego/m65/rev3:default:flash
  23. To enter flashing mode, on microcontroller keep pressed BOOT0 and then NRST, release NRST and then after 0.5s or so release BOOT0.
  24. For rev4
  25. make mlego/m65/rev4:default
  26. Flashing example for this keyboard:
  27. make mlego/m65/rev4:default:flash
  28. To enter flashing mode, press in the same time, LWR+RSE+r, alternatively on microcontroller keep pressed BOOT0 and then NRST, release NRST and then after 0.5s or so release BOOT0.
  29. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
  30. ## Pins and leds rev1 STM/APM32F103C8T6
  31. similar pinout for STM32F303
  32. | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins |
  33. | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
  34. | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B11 |
  35. | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | B0 |
  36. | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | B1 |
  37. | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A2 |
  38. | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | A3 |
  39. | | A10 | A15 | B3 | B4 | B5 | B9 | B8 | B7 | B6 | C15 | A0 | A7 | B10 | |
  40. ### Encoders
  41. - Pad_A: A8
  42. - Pad_B: A9
  43. ### Leds
  44. | Leds | Pin |
  45. | ----------- | --- |
  46. | NUM_LOCK | B12 |
  47. | CAPS_LOCK | C13 |
  48. | SCROLL_LOCK | B13 |
  49. | RBG_DI | B15 |
  50. ## Pins and leds rev2 GD32F303CCT6
  51. | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins |
  52. | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
  53. | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B11 |
  54. | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | B0 |
  55. | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | B1 |
  56. | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A2 |
  57. | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | A3 |
  58. | | A10 | A15 | B3 | B4 | B5 | B9 | B8 | B7 | B6 | C15 | A0 | A7 | B10 | |
  59. ### Encoders
  60. - Pad_A: A8
  61. - Pad_B: A9
  62. ### Leds
  63. | Leds | Pin |
  64. | ----------- | --- |
  65. | NUM_LOCK | B12 |
  66. | CAPS_LOCK | B2 |
  67. | SCROLL_LOCK | B13 |
  68. | RBG_DI | B15 |
  69. ## Pins and leds rev3 stm32f401
  70. the pinout is the same for stm32f411
  71. | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins |
  72. | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
  73. | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B10 |
  74. | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | A5 |
  75. | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | A6 |
  76. | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A7 |
  77. | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | B0 |
  78. | | A10 | A15 | B3 | B4 | B5 | B9 | B8 | B7 | A1 | A2 | A3 | A4 | B1 | |
  79. ### Encoders
  80. - Pad_A: A0
  81. - Pad_B: B6
  82. ### LEDS
  83. | Leds | Pin |
  84. | ----------- | --- |
  85. | NUM_LOCK | B12 |
  86. | CAPS_LOCK | C13 |
  87. | SCROLL_LOCK | B13 |
  88. | RBG_DI | B15 |
  89. ## Pins and leds rev4 stm32f401
  90. the pinout is the same for stm32f411
  91. | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins |
  92. | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
  93. | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B10 |
  94. | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | A5 |
  95. | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | A6 |
  96. | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A7 |
  97. | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | B0 |
  98. | | B14 | A8 | A10 | A15 | B3 | B4 | B5 | B7 | A1 | A2 | A3 | A4 | B1 | |
  99. ### Encoders
  100. - Pad_A: A0
  101. - Pad_B: B6
  102. ### Oled
  103. - SDA: B9
  104. - SCL: B8
  105. ### LEDS
  106. | Leds | Pin |
  107. | ----------- | --- |
  108. | NUM_LOCK | B12 |
  109. | CAPS_LOCK | C13 |
  110. | SCROLL_LOCK | B13 |
  111. | RBG_DI | B15 |