Skip to content

Commit

Permalink
Migrate half-duplex SERIAL_USART_TX_PIN to DD (qmk#24143)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and acidMyke committed Nov 3, 2024
1 parent d189775 commit 21cd0c8
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 14 deletions.
1 change: 0 additions & 1 deletion keyboards/chew/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U // In ms in which the double tap can occur

#define EE_HANDS
#define SERIAL_USART_TX_PIN GP11
3 changes: 2 additions & 1 deletion keyboards/chew/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
}
},
"serial": {
"driver": "vendor"
"driver": "vendor",
"pin": "GP11"
},
"transport": {
"watchdog": true
Expand Down
3 changes: 0 additions & 3 deletions keyboards/keychron/q11/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
#define SNLED27351_CURRENT_TUNE \
{ 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF } // 300mA

/* Split Keyboard specific options. */
#define SERIAL_USART_TX_PIN A9 // USART TX pin

/* Encoder Configuration */
#define ENCODER_DEFAULT_POS 0x3

Expand Down
3 changes: 2 additions & 1 deletion keyboards/keychron/q11/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
}
},
"serial": {
"driver": "usart"
"driver": "usart",
"pin": "A9"
},
"transport": {
"sync" :{
Expand Down
1 change: 0 additions & 1 deletion keyboards/mlego/m60_split/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define SERIAL_USART_TX_PIN B6
#define SERIAL_USART_SPEED 921600
3 changes: 2 additions & 1 deletion keyboards/mlego/m60_split/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
}
},
"serial": {
"driver": "usart"
"driver": "usart",
"pin": "B6"
},
"transport": {
"sync": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mlego/m60_split/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
#pragma once

#define SERIAL_USART_TX_PIN B6

#define SERIAL_USART_SPEED 921600

#define RGBLIGHT_LAYERS
3 changes: 2 additions & 1 deletion keyboards/mlego/m60_split/rev2/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
}
},
"serial": {
"driver": "usart"
"driver": "usart",
"pin": "B6"
},
"transport": {
"sync": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/pica40/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#define SERIAL_USART_TX_PIN GP0

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
Expand Down
3 changes: 2 additions & 1 deletion keyboards/pica40/rev2/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
}
},
"serial": {
"driver": "vendor"
"driver": "vendor",
"pin": "GP0"
}
},
"encoder": {
Expand Down

0 comments on commit 21cd0c8

Please sign in to comment.