[INIT-MIGRATION] from qmk @ d575bf7ddcb66849a449aa5f714eb926644862ec
This commit is contained in:
23
keyboards/boardsource/lulu/rp2040/config.h
Normal file
23
keyboards/boardsource/lulu/rp2040/config.h
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright 2022 jack (@waffle87)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U
|
||||
#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 GP22
|
||||
#define I2C1_SCL_PIN GP23
|
||||
|
||||
|
||||
#define RGB_MATRIX_DEFAULT_VAL 150
|
||||
#define RGB_MATRIX_DEFAULT_SAT 255
|
||||
#define RGB_MATRIX_DEFAULT_HUE 220
|
||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_ALPHAS_MODS
|
||||
#define RGB_MATRIX_DEFAULT_SPD 25
|
||||
#define RGB_MATRIX_HZ 100
|
||||
|
||||
#define TAPPING_TOGGLE 2 // for tt
|
||||
#define ONESHOT_TAP_TOGGLE 5
|
||||
#define ONESHOT_TIMEOUT 1500 // ms
|
||||
5
keyboards/boardsource/lulu/rp2040/halconf.h
Normal file
5
keyboards/boardsource/lulu/rp2040/halconf.h
Normal file
@@ -0,0 +1,5 @@
|
||||
// Copyright 2022 jack (@waffle87)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
#define HAL_USE_I2C TRUE
|
||||
#include_next <halconf.h>
|
||||
22
keyboards/boardsource/lulu/rp2040/keyboard.json
Normal file
22
keyboards/boardsource/lulu/rp2040/keyboard.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"bootloader": "rp2040",
|
||||
"matrix_pins": {
|
||||
"cols": ["GP2", "GP3", "GP4", "GP5", "GP6", "GP7"],
|
||||
"rows": ["GP14", "GP15", "GP16", "GP17", "GP18"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "GP8", "pin_b": "GP9"}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"serial": {
|
||||
"driver": "vendor"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "GP29",
|
||||
"driver": "vendor"
|
||||
}
|
||||
}
|
||||
6
keyboards/boardsource/lulu/rp2040/mcuconf.h
Normal file
6
keyboards/boardsource/lulu/rp2040/mcuconf.h
Normal file
@@ -0,0 +1,6 @@
|
||||
// Copyright 2022 jack (@waffle87)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
#include_next <mcuconf.h>
|
||||
#undef RP_I2C_USE_I2C1
|
||||
#define RP_I2C_USE_I2C1 TRUE
|
||||
1
keyboards/boardsource/lulu/rp2040/rules.mk
Normal file
1
keyboards/boardsource/lulu/rp2040/rules.mk
Normal file
@@ -0,0 +1 @@
|
||||
SRC += lib/oled.c
|
||||
Reference in New Issue
Block a user