<spanclass="line"><spanstyle="--shiki-light:#D73A49;--shiki-dark:#F97583;">#define</span><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT</span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 200</span><spanstyle="--shiki-light:#D73A49;--shiki-dark:#F97583;">U</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // Timeout window in ms in which the double tap can occur.</span></span>
<spanclass="line"><spanstyle="--shiki-light:#D73A49;--shiki-dark:#F97583;">#define</span><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> GP17</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // Specify a optional status led by GPIO number which blinks when entering the bootloader</span></span></code></pre></div><h2id="pre-defined-rp2040-boards"tabindex="-1">Pre-defined RP2040 boards <aclass="header-anchor"href="#pre-defined-rp2040-boards"aria-label="Permalink to "Pre-defined RP2040 boards""></a></h2><p>QMK defines two boards that you can choose from to base your RP2040 powered keyboard upon. These boards provide pre-configured default pins and drivers.</p><h3id="generic-pro-micro-rp2040"tabindex="-1">Generic Pro Micro RP2040 <aclass="header-anchor"href="#generic-pro-micro-rp2040"aria-label="Permalink to "Generic Pro Micro RP2040""></a></h3><p>This is the default board that is chosen, unless any other RP2040 board is selected in your keyboards <code>rules.mk</code> file. It assumes a pin layout for the I2C, SPI and Serial drivers which is identical to the Sparkfun Pro Micro RP2040, however all values can be overwritten by defining them in your keyboards <code>config.h</code> file. The <ahref="#double-tap">double-tap</a> reset to enter boot-loader behavior is activated by default.</p><table><thead><tr><th>Driver configuration define</th><th>Value</th></tr></thead><tbody><tr><td><strong>I2C driver</strong></td><td></td></tr><tr><td><code>I2C_DRIVER</code></td><td><code>I2CD1</code></td></tr><tr><td><code>I2C1_SDA_PIN</code></td><td><code>GP2</code></td></tr><tr><td><code>I2C1_SCL_PIN</code></td><td><code>GP3</code></td></tr><tr><td><strong>SPI driver</strong></td><td></td></tr><tr><td><code>SPI_DRIVER</code></td><td><code>SPID0</code></td></tr><tr><td><code>SPI_SCK_PIN</code></td><td><code>GP18</code></td></tr><tr><td><code>SPI_MISO_PIN</code></td><td><code>GP20</code></td></tr><tr><td><code>SPI_MOSI_PIN</code></td><td><code>GP19</code></td></tr><tr><td><strong>Serial driver</strong></td><td></td></tr><tr><td><code>SERIAL_USART_DRIVER</code> (<ahref="./drivers/serial#the-sio-driver">SIO Driver</a> only)</td><td><code>SIOD0</code></td></tr><tr><td><code>SOFT_SERIAL_PIN</code></td><td>undefined, use <code>SERIAL_USART_TX_PIN</code></td></tr><tr><td><code>SERIAL_USART_TX_PIN</code></td><td><code>GP0</code></td></tr><tr><td><code>SERIAL_USART_RX_PIN</code></td><td><code>GP1</code></td></tr><tr><td><strong>UART driver</strong></td><td></td></tr><tr><td><code>UART_DRIVER</code></td><td><code>SIOD0</code></td></tr><tr><td><code>UART_TX_PIN</code></td><td><code>GP0</code></td></tr><tr><td><code>UART_RX_PIN</code></td><td><code>GP1</code></td></tr></tbody></table><divclass="tip custom-block"><pclass="custom-block-title">TIP</p><p>The pin-outs of Adafruit's KB2040 and Boardsource's Blok both deviate from the Sparkfun Pro Micro RP2040. Lookup the pin-out of these boards and adjust your keyboards pin definition accordingly if you want to use these boards.</p></div><h3id="generic-rp2040-board"tabindex="-1">Generic RP2040 board <aclass="header-anchor"href="#generic-rp2040-board"aria-label="Permalink to "Generic RP2040 board""></a></h3><p>This board can be chosen as a base for RP2040 keyboards which configure all necessary pins and drivers themselves and do not wish to leverage the configuration matching the Generic Pro Micro RP2040 board. Thus it doesn't provide any pre-configured pins or drivers. To select this board add the following line to your keyboards <code>rules.mk</code> file.</p><divclass="language-make vp-adaptive-theme"><buttontitle="Copy Code"class="copy"></button><spanclass="lang">make</span><preclass="shiki shiki-themes github-light github-dark vp-code"><code><spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">BOARD = GENERIC_RP_RP2040</span></span></code></pre></div><h2id="split-keyboard-sup