Skip to content

Commit 71c43ca

Browse files
authored
Merge pull request #4319 from jepler/feather-default-uart
feather rp2040: enable default board.UART
2 parents c5fecee + b0fca4f commit 71c43ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ports/raspberrypi/boards/adafruit_feather_rp2040/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)
1111
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)
1212

13-
// #define DEFAULT_UART_BUS_RX (&pin_PA11)
14-
// #define DEFAULT_UART_BUS_TX (&pin_PA10)
13+
#define DEFAULT_UART_BUS_RX (&pin_GPIO1)
14+
#define DEFAULT_UART_BUS_TX (&pin_GPIO0)
1515

1616
// Flash chip is GD25Q64 connected over QSPI
1717
#define TOTAL_FLASH_SIZE (8 * 1024 * 1024)

ports/raspberrypi/boards/adafruit_feather_rp2040/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
3131

3232
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
3333
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
34-
// { MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
34+
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
3535
};
3636
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

0 commit comments

Comments
 (0)