[RP2040] update i2c drivers to reflect peripheral number (#19277)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
# define OLED_DISPLAY_128X32
|
||||
#define I2C1_SCL_PIN GP17
|
||||
#define I2C1_SDA_PIN GP16
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C_DRIVER I2CD0
|
||||
#define OLED_BRIGHTNESS 128
|
||||
#define OLED_FONT_H "keyboards/1upkeyboards/pi40/lib/glcdfont.c"
|
||||
#endif
|
||||
@@ -96,4 +96,4 @@
|
||||
|
||||
/* Bootmagic Lite key configuration */
|
||||
#define BOOTMAGIC_LITE_ROW 0
|
||||
#define BOOTMAGIC_LITE_COLUMN 0
|
||||
#define BOOTMAGIC_LITE_COLUMN 0
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
||||
|
||||
|
||||
#define I2C_DRIVER I2CD2
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C1_SDA_PIN GP6
|
||||
#define I2C1_SCL_PIN GP7
|
||||
|
||||
|
@@ -6,6 +6,6 @@
|
||||
#define SERIAL_USART_FULL_DUPLEX
|
||||
#define SERIAL_USART_TX_PIN GP0
|
||||
#define SERIAL_USART_RX_PIN GP1
|
||||
#define I2C_DRIVER I2CD2
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C1_SDA_PIN GP22
|
||||
#define I2C1_SCL_PIN GP23
|
||||
|
@@ -33,6 +33,6 @@
|
||||
#define SPLIT_LED_STATE_ENABLE
|
||||
#define SPLIT_MODS_ENABLE
|
||||
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C_DRIVER I2CD0
|
||||
#define I2C1_SCL_PIN GP25
|
||||
#define I2C1_SDA_PIN GP24
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#define SPLIT_MODS_ENABLE
|
||||
|
||||
#undef I2C_DRIVER
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C_DRIVER I2CD0
|
||||
#undef I2C1_SCL_PIN
|
||||
#define I2C1_SCL_PIN GP25
|
||||
#undef I2C1_SDA_PIN
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
// settings for the oled keyboard demo with Adafruit 0.91" OLED display on the Stemma QT port
|
||||
#define OLED_DISPLAY_128X32
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C_DRIVER I2CD0
|
||||
#define I2C1_SDA_PIN GP12
|
||||
#define I2C1_SCL_PIN GP13
|
||||
|
||||
|
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define SERIAL_USART_PIN_SWAP
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
#define I2C_DRIVER I2CD2
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C1_SCL_PIN GP22
|
||||
#define I2C1_SDA_PIN GP23
|
||||
|
||||
|
Reference in New Issue
Block a user