12#ifndef _BOARDS_PIMORONI_KEYBOW2040_H
13#define _BOARDS_PIMORONI_KEYBOW2040_H
16#define PIMORONI_KEYBOW2040
19#ifndef KEYBOW2040_I2C_SDA_PIN
20#define KEYBOW2040_I2C_SDA_PIN 4
23#ifndef KEYBOW2040_I2C_SCL_PIN
24#define KEYBOW2040_I2C_SCL_PIN 5
27#ifndef KEYBOW2040_I2C_INT_PIN
28#define KEYBOW2040_I2C_INT_PIN 3
31#ifndef KEYBOW2040_USER_SW_PIN
32#define KEYBOW2040_USER_SW_PIN 23
35#ifndef KEYBOW2040_SW0_PIN
36#define KEYBOW2040_SW0_PIN 21
39#ifndef KEYBOW2040_SW1_PIN
40#define KEYBOW2040_SW1_PIN 20
43#ifndef KEYBOW2040_SW2_PIN
44#define KEYBOW2040_SW2_PIN 19
47#ifndef KEYBOW2040_SW3_PIN
48#define KEYBOW2040_SW3_PIN 18
51#ifndef KEYBOW2040_SW4_PIN
52#define KEYBOW2040_SW4_PIN 17
55#ifndef KEYBOW2040_SW5_PIN
56#define KEYBOW2040_SW5_PIN 16
59#ifndef KEYBOW2040_SW6_PIN
60#define KEYBOW2040_SW6_PIN 15
63#ifndef KEYBOW2040_SW7_PIN
64#define KEYBOW2040_SW7_PIN 14
67#ifndef KEYBOW2040_SW8_PIN
68#define KEYBOW2040_SW8_PIN 13
71#ifndef KEYBOW2040_SW9_PIN
72#define KEYBOW2040_SW9_PIN 12
75#ifndef KEYBOW2040_SW10_PIN
76#define KEYBOW2040_SW10_PIN 11
79#ifndef KEYBOW2040_SW11_PIN
80#define KEYBOW2040_SW11_PIN 10
83#ifndef KEYBOW2040_SW12_PIN
84#define KEYBOW2040_SW12_PIN 9
87#ifndef KEYBOW2040_SW13_PIN
88#define KEYBOW2040_SW13_PIN 8
91#ifndef KEYBOW2040_SW14_PIN
92#define KEYBOW2040_SW14_PIN 7
95#ifndef KEYBOW2040_SW15_PIN
96#define KEYBOW2040_SW15_PIN 6
99#ifndef KEYBOW2040_NUM_SWITCHES_PINS
100#define KEYBOW2040_NUM_SWITCHES_PINS 16
104#ifndef PICO_DEFAULT_UART
105#define PICO_DEFAULT_UART 0
108#ifndef PICO_DEFAULT_UART_TX_PIN
109#define PICO_DEFAULT_UART_TX_PIN 0
112#ifndef PICO_DEFAULT_UART_RX_PIN
113#define PICO_DEFAULT_UART_RX_PIN 1
121#ifndef PICO_DEFAULT_I2C
122#define PICO_DEFAULT_I2C 0
124#ifndef PICO_DEFAULT_I2C_SDA_PIN
125#define PICO_DEFAULT_I2C_SDA_PIN KEYBOW2040_I2C_SDA_PIN
127#ifndef PICO_DEFAULT_I2C_SCL_PIN
128#define PICO_DEFAULT_I2C_SCL_PIN KEYBOW2040_I2C_SCL_PIN
139#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1
141#ifndef PICO_FLASH_SPI_CLKDIV
142#define PICO_FLASH_SPI_CLKDIV 2
145#ifndef PICO_FLASH_SIZE_BYTES
146#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
150#ifndef PICO_RP2040_B0_SUPPORTED
151#define PICO_RP2040_B0_SUPPORTED 0