16 lines
460 B
C
16 lines
460 B
C
|
// Copyright 2022 Steven Karrmann (@skarrmann)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "config_common.h"
|
||
|
|
||
|
/* Serial communication */
|
||
|
#define SERIAL_USART_FULL_DUPLEX
|
||
|
#define SERIAL_USART_TX_PIN GP0
|
||
|
#define SERIAL_USART_RX_PIN GP1
|
||
|
|
||
|
/* Double tap reset button to enter bootloader */
|
||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|