Skip to content

Commit

Permalink
[Keyboard]Add Lily58 Lite Rev3(lily58/lite_rev3) (qmk#24255)
Browse files Browse the repository at this point in the history
* add Lily58 Lite Rev3 Firmware

* fix README

* Update README

* delete lite_rev3.h

* Update keyboards/lily58/lite_rev3/halconf.h

Co-authored-by: jack <[email protected]>

* Update keyboards/lily58/lite_rev3/config.h

Co-authored-by: jack <[email protected]>

* Update keyboards/lily58/lite_rev3/keyboard.json

Co-authored-by: jack <[email protected]>

* Update keyboards/lily58/lite_rev3/keyboard.json

Co-authored-by: jack <[email protected]>

* Update keyboards/lily58/lite_rev3/mcuconf.h

Co-authored-by: jack <[email protected]>

* fix image url

* fix SERIAL_DRIVER definition

* fix VIA_ENABLE definition disable

* fix cols pin

* Update keyboards/lily58/lite_rev3/config.h

Co-authored-by: Drashna Jaelre <[email protected]>

* Update keyboards/lily58/lite_rev3/keyboard.json

Co-authored-by: jack <[email protected]>

* delete rules.mk

* Update README

* Update keyboards/lily58/lite_rev3/readme.md

---------

Co-authored-by: jack <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
  • Loading branch information
3 people authored and smallketchup82 committed Dec 1, 2024
1 parent 26e5e33 commit dc0bd28
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 0 deletions.
14 changes: 14 additions & 0 deletions keyboards/lily58/lite_rev3/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Copyright 2023 yuchi
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U

#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1

#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP14
#define I2C1_SCL_PIN GP15
7 changes: 7 additions & 0 deletions keyboards/lily58/lite_rev3/halconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2024 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#define HAL_USE_I2C TRUE

#include_next <halconf.h>
104 changes: 104 additions & 0 deletions keyboards/lily58/lite_rev3/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"keyboard_name": "Lily58 Lite Rev3",
"manufacturer": "Liliums",
"maintainer": "yuchi",
"url": "",
"processor": "RP2040",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"usb": {
"vid": "0x1209",
"pid": "0x5801",
"device_version": "1.0.0"
},
"split": {
"enabled": true,
"serial": {
"driver": "vendor"
}
},
"matrix_pins": {
"cols": ["GP8", "GP7", "GP6", "GP5", "GP4", "GP3"],
"rows": ["GP13", "GP12", "GP11", "GP10", "GP9"]
},
"features": {
"oled": true,
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.5},
{"matrix": [0, 1], "x": 1, "y": 0.375},
{"matrix": [0, 2], "x": 2, "y": 0.125},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0.125},
{"matrix": [0, 5], "x": 5, "y": 0.25},

{"matrix": [5, 5], "x": 10.5, "y": 0.25},
{"matrix": [5, 4], "x": 11.5, "y": 0.125},
{"matrix": [5, 3], "x": 12.5, "y": 0},
{"matrix": [5, 2], "x": 13.5, "y": 0.125},
{"matrix": [5, 1], "x": 14.5, "y": 0.375},
{"matrix": [5, 0], "x": 15.5, "y": 0.5},

{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.375},
{"matrix": [1, 2], "x": 2, "y": 1.125},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1.125},
{"matrix": [1, 5], "x": 5, "y": 1.25},

{"matrix": [6, 5], "x": 10.5, "y": 1.25},
{"matrix": [6, 4], "x": 11.5, "y": 1.125},
{"matrix": [6, 3], "x": 12.5, "y": 1},
{"matrix": [6, 2], "x": 13.5, "y": 1.125},
{"matrix": [6, 1], "x": 14.5, "y": 1.375},
{"matrix": [6, 0], "x": 15.5, "y": 1.5},

{"matrix": [2, 0], "x": 0, "y": 2.5},
{"matrix": [2, 1], "x": 1, "y": 2.375},
{"matrix": [2, 2], "x": 2, "y": 2.125},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2.125},
{"matrix": [2, 5], "x": 5, "y": 2.25},

{"matrix": [7, 5], "x": 10.5, "y": 2.25},
{"matrix": [7, 4], "x": 11.5, "y": 2.125},
{"matrix": [7, 3], "x": 12.5, "y": 2},
{"matrix": [7, 2], "x": 13.5, "y": 2.125},
{"matrix": [7, 1], "x": 14.5, "y": 2.375},
{"matrix": [7, 0], "x": 15.5, "y": 2.5},

{"matrix": [3, 0], "x": 0, "y": 3.5},
{"matrix": [3, 1], "x": 1, "y": 3.375},
{"matrix": [3, 2], "x": 2, "y": 3.125},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3.125},
{"matrix": [3, 5], "x": 5, "y": 3.25},
{"matrix": [4, 5], "x": 6, "y": 2.75},

{"matrix": [9, 5], "x": 9.5, "y": 2.75},
{"matrix": [8, 5], "x": 10.5, "y": 3.25},
{"matrix": [8, 4], "x": 11.5, "y": 3.125},
{"matrix": [8, 3], "x": 12.5, "y": 3},
{"matrix": [8, 2], "x": 13.5, "y": 3.125},
{"matrix": [8, 1], "x": 14.5, "y": 3.375},
{"matrix": [8, 0], "x": 15.5, "y": 3.5},

{"matrix": [4, 1], "x": 2.5, "y": 4.125},
{"matrix": [4, 2], "x": 3.5, "y": 4.15},
{"matrix": [4, 3], "x": 4.5, "y": 4.25},
{"matrix": [4, 4], "x": 6, "y": 4.25, "h": 1.5},

{"matrix": [9, 4], "x": 9.5, "y": 4.25, "h": 1.5},
{"matrix": [9, 3], "x": 11, "y": 4.25},
{"matrix": [9, 2], "x": 12, "y": 4.15},
{"matrix": [9, 1], "x": 13, "y": 4.15}
]
}
}
}
11 changes: 11 additions & 0 deletions keyboards/lily58/lite_rev3/mcuconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2024 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#include_next <mcuconf.h>

#undef RP_I2C_USE_I2C0
#define RP_I2C_USE_I2C0 FALSE

#undef RP_I2C_USE_I2C1
#define RP_I2C_USE_I2C1 TRUE
28 changes: 28 additions & 0 deletions keyboards/lily58/lite_rev3/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Lily58 Lite Rev3

![lily58_lite](https://i.imgur.com/RCx5Xym.jpeg)
![lily58_lite_rev3_pcb](https://i.imgur.com/rIjVjCE.png)


* Keyboard Maintainer: [yuchi](https://github.com/kata0510)
* Hardware Supported: RP2040-Zero
* Hardware Availability: [PCB Link](https://github.com/kata0510/Lily58/tree/master/Lite_Rev3)
* Other Information(ja) [Link](https://docs.liliums.net/lily58-lite-rev3/about/)

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

make lily58/lite_rev3:default

Flashing example for this keyboard:

make lily58/lite_rev3:default:flash

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).

## Bootloader

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

0 comments on commit dc0bd28

Please sign in to comment.