Skip to content

Commit fe8763c

Browse files
Adding UART TX GP16
1 parent 2d2164b commit fe8763c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/boards/include/boards/raspberry_pi_pi500_rp2040.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
4040
#define PI500_RP2040_POWER_KEY_COL_PIN 20 // Also matrix col 11
4141
#define PI500_RP2040_POWER_KEY_ROW_PIN 6 // Also matrix row 6
4242

43+
// --- UART ---
44+
#ifndef PICO_DEFAULT_UART
45+
#define PICO_DEFAULT_UART 0
46+
#endif
47+
#ifndef PICO_DEFAULT_UART_TX_PIN
48+
#define PICO_DEFAULT_UART_TX_PIN 16
49+
#endif
4350

4451
// --- KEYBOARD MATRIX PINS ---
4552
// Matrix row pins (8 pins)

0 commit comments

Comments
 (0)