mirror of
https://github.com/grymoire/i2c_puppet-Linux.git
synced 2025-07-13 14:34:29 +02:00
Initial import
This commit is contained in:
54
boards/bbq20kbd_breakout.h
Normal file
54
boards/bbq20kbd_breakout.h
Normal file
@ -0,0 +1,54 @@
|
||||
#pragma once
|
||||
|
||||
#define USB_PID 0x4009
|
||||
#define USB_VID 0xABBA
|
||||
#define USB_PRODUCT "BBQ20KBD"
|
||||
|
||||
#define PIN_INT 0
|
||||
#define PIN_BKL 25
|
||||
|
||||
#define PIN_SDA 18
|
||||
#define PIN_SCL 23
|
||||
|
||||
#define PIN_TP_RESET 16
|
||||
#define PIN_TP_MOTION 22
|
||||
#define PIN_TP_SHUTDOWN 24
|
||||
|
||||
#define PIN_PUPPET_SDA 28
|
||||
#define PIN_PUPPET_SCL 29
|
||||
|
||||
#define NUM_OF_ROWS 7
|
||||
#define PINS_ROWS \
|
||||
1, \
|
||||
2, \
|
||||
3, \
|
||||
4, \
|
||||
5, \
|
||||
6, \
|
||||
7
|
||||
|
||||
#define NUM_OF_COLS 6
|
||||
#define PINS_COLS \
|
||||
8, \
|
||||
9, \
|
||||
14, \
|
||||
13, \
|
||||
12, \
|
||||
11
|
||||
|
||||
#define NUM_OF_BTNS 1
|
||||
#define PINS_BTNS \
|
||||
10,
|
||||
#define BTN_KEYS \
|
||||
{ KEY_BTN_RIGHT2 },
|
||||
|
||||
#define PIN_GPIOEXP0 15
|
||||
#define PIN_GPIOEXP1 17
|
||||
#define PIN_GPIOEXP2 19
|
||||
#define PIN_GPIOEXP3 21
|
||||
#define PIN_GPIOEXP4 26
|
||||
|
||||
#define PICO_DEFAULT_UART 1
|
||||
#define PICO_DEFAULT_UART_TX_PIN 20
|
||||
|
||||
//{ MP_ROM_QSTR(MP_QSTR_MIC), MP_ROM_PTR(&pin_GPIO27) },
|
Reference in New Issue
Block a user