mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-21 15:12:02 +00:00
3x5_3 explicitly set some defaults
some things were only working because "processor: RP2040" defaults to GENERIC_PROMICRO_RP2040. explicitly set "board": "GENERIC_RP_RP2040" instead. correctly enable SPI0 and SPID0 instead of SPI1
This commit is contained in:
parent
c67956ea1f
commit
7661fa1611
@ -30,6 +30,7 @@
|
|||||||
#define CRC8_OPTIMIZE_SPEED
|
#define CRC8_OPTIMIZE_SPEED
|
||||||
|
|
||||||
/* Cirque trackpad over SPI. */
|
/* Cirque trackpad over SPI. */
|
||||||
|
#define SPI_DRIVER SPID0
|
||||||
#define SPI_SCK_PIN GP22
|
#define SPI_SCK_PIN GP22
|
||||||
#define SPI_MOSI_PIN GP23
|
#define SPI_MOSI_PIN GP23
|
||||||
#define SPI_MISO_PIN GP20
|
#define SPI_MISO_PIN GP20
|
||||||
@ -40,6 +41,7 @@
|
|||||||
/* Reset. */
|
/* Reset. */
|
||||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
||||||
|
|
||||||
/* RGB matrix support. */
|
/* RGB matrix support. */
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
},
|
},
|
||||||
"processor": "RP2040",
|
"processor": "RP2040",
|
||||||
"bootloader": "rp2040",
|
"bootloader": "rp2040",
|
||||||
|
"board": "GENERIC_RP_RP2040",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["GP8", "GP9", "GP7", "GP6", "GP28"],
|
"cols": ["GP8", "GP9", "GP7", "GP6", "GP28"],
|
||||||
"rows": ["GP4", "GP5", "GP27", "GP26"]
|
"rows": ["GP4", "GP5", "GP27", "GP26"]
|
||||||
@ -16,7 +17,7 @@
|
|||||||
"soft_serial_pin": "GP1",
|
"soft_serial_pin": "GP1",
|
||||||
"bootmagic": {
|
"bootmagic": {
|
||||||
"matrix": [4, 0]
|
"matrix": [4, 0]
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"encoder": {
|
"encoder": {
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
@ -32,7 +33,7 @@
|
|||||||
"rgb_matrix": true
|
"rgb_matrix": true
|
||||||
},
|
},
|
||||||
"caps_word": {
|
"caps_word": {
|
||||||
"enabled": true,
|
"enabled": true
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "GP10",
|
"pin": "GP10",
|
||||||
@ -41,7 +42,7 @@
|
|||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
"driver": "ws2812",
|
"driver": "ws2812",
|
||||||
"split_count": [36, 36],
|
"split_count": [36, 36],
|
||||||
"max_brightness": 128,
|
"max_brightness": 176,
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x": 82, "y": 0, "flags": 2},
|
{"x": 82, "y": 0, "flags": 2},
|
||||||
{"x": 60, "y": 0, "flags": 2},
|
{"x": 60, "y": 0, "flags": 2},
|
||||||
|
@ -19,5 +19,5 @@
|
|||||||
|
|
||||||
#include_next <mcuconf.h>
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
#undef RP_SPI_USE_SPI1
|
#undef RP_SPI_USE_SPI0
|
||||||
#define RP_SPI_USE_SPI1 TRUE
|
#define RP_SPI_USE_SPI0 TRUE
|
||||||
|
Loading…
Reference in New Issue
Block a user