readme.md (6800B)
1 # M65 2 3  4 5 A (13x5) ortholinear keyboard that can be hand wired or using a pcb. 6 7 * Keyboard Maintainer: [Alin Elena](https://github.com/alinelena) ([@drFaustroll on GitLab](https://gitlab.com/drFaustroll)) 8 * Hardware Supported: custom pcb [see](https://gitlab.com/m-lego/m65) STM/APM32F103C8T6, aka Black Pill (rev1), 9 GD32F303CCT6 from we act aka Blue Pill Plus (rev2), STM32F401 from we act (rev3,rev4) STM32F411 can also be used just ask 10 * Hardware Availability: [custom how to](https://mlego.elena.space/m65) 11 12 13 Make example for this keyboard (after setting up your build environment): 14 15 For rev1 16 17 make mlego/m65/rev1:default 18 19 Flashing example for this keyboard: 20 21 make mlego/m65/rev1:default:flash 22 23 To enter flashing mode, press Lower+Raise+R. 24 25 For rev2 26 27 make mlego/m65/rev2:default 28 29 Flashing example for this keyboard: 30 31 make mlego/m65/rev2:default:flash 32 33 To enter flashing mode, on microcontroller keep pressed KEY and then NRST, release NRST and then after 1s release KEY. 34 35 For rev3 36 37 make mlego/m65/rev3:default 38 39 Flashing example for this keyboard: 40 41 make mlego/m65/rev3:default:flash 42 43 To enter flashing mode, on microcontroller keep pressed BOOT0 and then NRST, release NRST and then after 0.5s or so release BOOT0. 44 45 For rev4 46 47 make mlego/m65/rev4:default 48 49 Flashing example for this keyboard: 50 51 make mlego/m65/rev4:default:flash 52 53 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. 54 55 56 57 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). 58 59 ## Pins and leds rev1 STM/APM32F103C8T6 60 61 similar pinout for STM32F303 62 63 | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins | 64 | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | 65 | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B11 | 66 | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | B0 | 67 | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | B1 | 68 | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A2 | 69 | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | A3 | 70 | | A10 | A15 | B3 | B4 | B5 | B9 | B8 | B7 | B6 | C15 | A0 | A7 | B10 | | 71 72 ### Encoders 73 74 - Pad_A: A8 75 - Pad_B: A9 76 77 ### Leds 78 79 | Leds | Pin | 80 | ----------- | --- | 81 | NUM_LOCK | B12 | 82 | CAPS_LOCK | C13 | 83 | SCROLL_LOCK | B13 | 84 | RBG_DI | B15 | 85 86 ## Pins and leds rev2 GD32F303CCT6 87 88 89 | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins | 90 | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | 91 | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B11 | 92 | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | B0 | 93 | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | B1 | 94 | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A2 | 95 | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | A3 | 96 | | A10 | A15 | B3 | B4 | B5 | B9 | B8 | B7 | B6 | C15 | A0 | A7 | B10 | | 97 98 99 ### Encoders 100 101 - Pad_A: A8 102 - Pad_B: A9 103 104 ### Leds 105 106 | Leds | Pin | 107 | ----------- | --- | 108 | NUM_LOCK | B12 | 109 | CAPS_LOCK | B2 | 110 | SCROLL_LOCK | B13 | 111 | RBG_DI | B15 | 112 113 114 ## Pins and leds rev3 stm32f401 115 116 the pinout is the same for stm32f411 117 118 | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins | 119 | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | 120 | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B10 | 121 | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | A5 | 122 | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | A6 | 123 | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A7 | 124 | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | B0 | 125 | | A10 | A15 | B3 | B4 | B5 | B9 | B8 | B7 | A1 | A2 | A3 | A4 | B1 | | 126 127 ### Encoders 128 129 - Pad_A: A0 130 - Pad_B: B6 131 132 ### LEDS 133 134 | Leds | Pin | 135 | ----------- | --- | 136 | NUM_LOCK | B12 | 137 | CAPS_LOCK | C13 | 138 | SCROLL_LOCK | B13 | 139 | RBG_DI | B15 | 140 141 ## Pins and leds rev4 stm32f401 142 143 the pinout is the same for stm32f411 144 145 | Rows | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | Pins | 146 | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | 147 | R0 | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | Bksp | B10 | 148 | R1 | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] | A5 | 149 | R2 | # | a | s | d | f | g | h | j | k | l | ; | ' | Enter | A6 | 150 | R3 | Shift | \ | z | x | c | v | b | n | m | , | . | Up | / | A7 | 151 | R4 | Ctrl | Menu | Lower | Alt | Raise | Space | Space | Space | AltGr | Shift | Left | Down | Right | B0 | 152 | | B14 | A8 | A10 | A15 | B3 | B4 | B5 | B7 | A1 | A2 | A3 | A4 | B1 | | 153 154 ### Encoders 155 156 - Pad_A: A0 157 - Pad_B: B6 158 159 ### Oled 160 161 - SDA: B9 162 - SCL: B8 163 164 ### LEDS 165 166 | Leds | Pin | 167 | ----------- | --- | 168 | NUM_LOCK | B12 | 169 | CAPS_LOCK | C13 | 170 | SCROLL_LOCK | B13 | 171 | RBG_DI | B15 | 172