11
keyboards/boardsource/lulu/rp2040/config.h
Normal file
11
keyboards/boardsource/lulu/rp2040/config.h
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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 I2CD2
|
||||
#define I2C1_SDA_PIN GP22
|
||||
#define I2C1_SCL_PIN GP23
|
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>
|
17
keyboards/boardsource/lulu/rp2040/info.json
Normal file
17
keyboards/boardsource/lulu/rp2040/info.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"bootloader": "rp2040",
|
||||
"matrix_pins": {
|
||||
"cols": ["GP2", "GP3", "GP4", "GP5", "GP6", "GP7"],
|
||||
"rows": ["GP14", "GP15", "GP16", "GP17", "GP18"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"rgblight": {
|
||||
"pin": "GP29",
|
||||
"led_count": 70
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{ "pin_a": "GP8", "pin_b": "GP9" }
|
||||
]
|
||||
}
|
||||
}
|
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
|
2
keyboards/boardsource/lulu/rp2040/rules.mk
Normal file
2
keyboards/boardsource/lulu/rp2040/rules.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
Reference in New Issue
Block a user