Skip to content

Commit

Permalink
Fix invalid use of stemcell converter (qmk#23317)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Mar 20, 2024
1 parent 53f4689 commit a9e9c9a
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 60 deletions.
7 changes: 3 additions & 4 deletions keyboards/bastardkb/charybdis/3x5/v2/stemcell/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@

/* SPI config for pmw3360 sensor. */
#define SPI_DRIVER SPID1
#define SPI_SCK_PIN B1
#define SPI_SCK_PIN A5
#define SPI_SCK_PAL_MODE 5
#define SPI_MOSI_PIN B2
#define SPI_MOSI_PIN A7
#define SPI_MOSI_PAL_MODE 5
#define SPI_MISO_PIN B3
#define SPI_MISO_PIN A6
#define SPI_MISO_PAL_MODE 5

/* PMW3360 settings. */
#define A1 PAL_LINE(GPIOA, 1)
#define POINTING_DEVICE_CS_PIN A1
#define PMW3360_CS_MODE 3
#define PMW3360_CS_DIVISOR 64
11 changes: 5 additions & 6 deletions keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
"driver": "ws2812"
},
"ws2812": {
"pin": "D3",
"pin": "A2",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]
"cols": ["B2", "A4", "B4", "B5", "B8"],
"rows": ["B0", "B3", "A15", "B9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "A3"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu"
"development_board": "stemcell"
}
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x5/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONVERT_TO = stemcell

# Build Options
# change yes to no to disable
#
Expand Down
7 changes: 3 additions & 4 deletions keyboards/bastardkb/charybdis/3x6/v2/stemcell/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@

/* SPI config for pmw3360 sensor. */
#define SPI_DRIVER SPID1
#define SPI_SCK_PIN B1
#define SPI_SCK_PIN A5
#define SPI_SCK_PAL_MODE 5
#define SPI_MOSI_PIN B2
#define SPI_MOSI_PIN A7
#define SPI_MOSI_PAL_MODE 5
#define SPI_MISO_PIN B3
#define SPI_MISO_PIN A6
#define SPI_MISO_PAL_MODE 5

/* PMW3360 settings. */
#define A1 PAL_LINE(GPIOA, 1)
#define POINTING_DEVICE_CS_PIN A1
#define PMW3360_CS_MODE 3
#define PMW3360_CS_DIVISOR 64
11 changes: 5 additions & 6 deletions keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
"driver": "ws2812"
},
"ws2812": {
"pin": "D3",
"pin": "A2",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]
"cols": ["B1", "B2", "A4", "B4", "B5", "B8"],
"rows": ["B0", "B3", "A15", "B9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "A3"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu"
"development_board": "stemcell"
}
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x6/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONVERT_TO = stemcell

# Build Options
# change yes to no to disable
#
Expand Down
7 changes: 3 additions & 4 deletions keyboards/bastardkb/charybdis/4x6/v2/stemcell/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@

/* SPI config for pmw3360 sensor. */
#define SPI_DRIVER SPID1
#define SPI_SCK_PIN B1
#define SPI_SCK_PIN A5
#define SPI_SCK_PAL_MODE 5
#define SPI_MOSI_PIN B2
#define SPI_MOSI_PIN A7
#define SPI_MOSI_PAL_MODE 5
#define SPI_MISO_PIN B3
#define SPI_MISO_PIN A6
#define SPI_MISO_PAL_MODE 5

/* PMW3360 settings. */
#define A1 PAL_LINE(GPIOA, 1)
#define POINTING_DEVICE_CS_PIN A1
#define PMW3360_CS_MODE 3
#define PMW3360_CS_DIVISOR 64
11 changes: 5 additions & 6 deletions keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
"driver": "ws2812"
},
"ws2812": {
"pin": "D3",
"pin": "A2",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F4", "F7", "C6", "D4", "B5"]
"cols": ["B1", "B2", "A4", "B4", "B5", "B8"],
"rows": ["B10", "B0", "B3", "A15", "B9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "A3"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu"
"development_board": "stemcell"
}
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/4x6/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONVERT_TO = stemcell

# Build Options
# change yes to no to disable
#
Expand Down
11 changes: 5 additions & 6 deletions keyboards/bastardkb/scylla/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
"driver": "ws2812"
},
"ws2812": {
"pin": "D3",
"pin": "A2",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F4", "F7", "C6", "D4", "B5"]
"cols": ["B1", "B2", "A4", "B4", "B5", "B8"],
"rows": ["B10", "B0", "B3", "A15", "B9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "A3"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu"
"development_board": "stemcell"
}
2 changes: 0 additions & 2 deletions keyboards/bastardkb/scylla/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONVERT_TO = stemcell

# Build Options
# change yes to no to disable
#
Expand Down
11 changes: 5 additions & 6 deletions keyboards/bastardkb/skeletyl/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
"driver": "ws2812"
},
"ws2812": {
"pin": "D3",
"pin": "A2",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]
"cols": ["B2", "A4", "B4", "B5", "B8"],
"rows": ["B0", "B3", "A15", "B9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "A3"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu"
"development_board": "stemcell"
}
2 changes: 0 additions & 2 deletions keyboards/bastardkb/skeletyl/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONVERT_TO = stemcell

# Build Options
# change yes to no to disable
#
Expand Down
11 changes: 5 additions & 6 deletions keyboards/bastardkb/tbkmini/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
"driver": "ws2812"
},
"ws2812": {
"pin": "D3",
"pin": "A2",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]
"cols": ["B1", "B2", "A4", "B4", "B5", "B8"],
"rows": ["B0", "B3", "A15", "B9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "A3"
},
"processor": "STM32F411",
"bootloader": "stm32-dfu"
"development_board": "stemcell"
}
2 changes: 0 additions & 2 deletions keyboards/bastardkb/tbkmini/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONVERT_TO = stemcell

# Build Options
# change yes to no to disable
#
Expand Down

0 comments on commit a9e9c9a

Please sign in to comment.