1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/mlego/m65
Alin Marin Elena 51cfb1b457
[Keyboard] mlego fix product id and sync oled code (#16237)
* sync oled code over the keymaps

* put different product ids

* put different product ids for the rest

* put different product ids for the rest

* try to reduce code duplication

* make ifdefs nice and correct

* move the leds code out of keymap

* try to reduce code duplication

* move the rgb code outside the keymaps for reuse

* Update keyboards/mlego/m65/m65.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Update keyboards/mlego/m65/m65.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

* move more code outside keymaps for reuse

* add few more xps

* add mic mute

* update to new name of macros for reset

* style for matrix

* clean split

* use tinyuf2 as bootloader

* Update keyboards/mlego/m65/rev4/rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* radionalise product id and device version

* add tinyuf2 as default bootloader for stm32f4

* update tinyuf2

* update tinyuf2 and via. f411 remove tinyuf2 since is not really working. make the config more conditional

* sync the keymap with default

* revert via non building with gcc 11

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-06-11 11:18:45 -07:00
..
keymaps [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
lib [Keyboard] add mlego/m65 oled revision (#15833) 2022-01-30 11:13:08 -08:00
rev1 [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
rev2 [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
rev3 [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
rev4 [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
config.h
info.json Remove keyboard_folder instances from info.json files (#15932) 2022-01-19 00:18:45 +00:00
m65.c [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
m65.h [Keyboard] mlego fix product id and sync oled code (#16237) 2022-06-11 11:18:45 -07:00
readme.md [Keyboard] add mlego/m65 oled revision (#15833) 2022-01-30 11:13:08 -08:00

M65

M65

A (13x5) ortholinear keyboard that can be hand wired or using a pcb.

  • Keyboard Maintainer: Alin Elena (@drFaustroll on GitLab)
  • Hardware Supported: custom pcb see STM/APM32F103C8T6, aka Black Pill (rev1), GD32F303CCT6 from we act aka Blue Pill Plus (rev2), STM32F401 from we act (rev3,rev4) STM32F411 can also be used just ask
  • Hardware Availability: custom how to

Make example for this keyboard (after setting up your build environment):

For rev1

make mlego/m65/rev1:default

Flashing example for this keyboard:

make mlego/m65/rev1:default:flash

To enter flashing mode, press Lower+Raise+R.

For rev2

make mlego/m65/rev2:default

Flashing example for this keyboard:

make mlego/m65/rev2:default:flash

To enter flashing mode, on microcontroller keep pressed KEY and then NRST, release NRST and then after 1s release KEY.

For rev3

make mlego/m65/rev3:default

Flashing example for this keyboard:

make mlego/m65/rev3:default:flash

To enter flashing mode, on microcontroller keep pressed BOOT0 and then NRST, release NRST and then after 0.5s or so release BOOT0.

For rev4

make mlego/m65/rev4:default

Flashing example for this keyboard:

make mlego/m65/rev4:default:flash

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.

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.

Pins and leds rev1 STM/APM32F103C8T6

similar pinout for STM32F303

Rows C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 Pins
R0 Esc 1 2 3 4 5 6 7 8 9 0 - Bksp B11
R1 Tab q w e r t y u i o p [ ] B0
R2 # a s d f g h j k l ; ' Enter B1
R3 Shift \ z x c v b n m , . Up / A2
R4 Ctrl Menu Lower Alt Raise Space Space Space AltGr Shift Left Down Right A3
A10 A15 B3 B4 B5 B9 B8 B7 B6 C15 A0 A7 B10

Encoders

  • Pad_A: A8
  • Pad_B: A9

Leds

Leds Pin
NUM_LOCK B12
CAPS_LOCK C13
SCROLL_LOCK B13
RBG_DI B15

Pins and leds rev2 GD32F303CCT6

Rows C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 Pins
R0 Esc 1 2 3 4 5 6 7 8 9 0 - Bksp B11
R1 Tab q w e r t y u i o p [ ] B0
R2 # a s d f g h j k l ; ' Enter B1
R3 Shift \ z x c v b n m , . Up / A2
R4 Ctrl Menu Lower Alt Raise Space Space Space AltGr Shift Left Down Right A3
A10 A15 B3 B4 B5 B9 B8 B7 B6 C15 A0 A7 B10

Encoders

  • Pad_A: A8
  • Pad_B: A9

Leds

Leds Pin
NUM_LOCK B12
CAPS_LOCK B2
SCROLL_LOCK B13
RBG_DI B15

Pins and leds rev3 stm32f401

the pinout is the same for stm32f411

Rows C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 Pins
R0 Esc 1 2 3 4 5 6 7 8 9 0 - Bksp B10
R1 Tab q w e r t y u i o p [ ] A5
R2 # a s d f g h j k l ; ' Enter A6
R3 Shift \ z x c v b n m , . Up / A7
R4 Ctrl Menu Lower Alt Raise Space Space Space AltGr Shift Left Down Right B0
A10 A15 B3 B4 B5 B9 B8 B7 A1 A2 A3 A4 B1

Encoders

  • Pad_A: A0
  • Pad_B: B6

LEDS

Leds Pin
NUM_LOCK B12
CAPS_LOCK C13
SCROLL_LOCK B13
RBG_DI B15

Pins and leds rev4 stm32f401

the pinout is the same for stm32f411

Rows C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 Pins
R0 Esc 1 2 3 4 5 6 7 8 9 0 - Bksp B10
R1 Tab q w e r t y u i o p [ ] A5
R2 # a s d f g h j k l ; ' Enter A6
R3 Shift \ z x c v b n m , . Up / A7
R4 Ctrl Menu Lower Alt Raise Space Space Space AltGr Shift Left Down Right B0
B14 A8 A10 A15 B3 B4 B5 B7 A1 A2 A3 A4 B1

Encoders

  • Pad_A: A0
  • Pad_B: B6

Oled

  • SDA: B9
  • SCL: B8

LEDS

Leds Pin
NUM_LOCK B12
CAPS_LOCK C13
SCROLL_LOCK B13
RBG_DI B15