Skip to content

Commit 06aa426

Browse files
authored
Merge pull request #7849 from stonehippo/micromod-samd51-update
Update pins to include UART1 RTS and CTS
2 parents 87e512c + c37af65 commit 06aa426

File tree

1 file changed

+2
-2
lines changed
  • ports/atmel-samd/boards/sparkfun_samd51_micromod

1 file changed

+2
-2
lines changed

ports/atmel-samd/boards/sparkfun_samd51_micromod/pins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
7777
// MicroMod UART1 pins
7878
{ MP_ROM_QSTR(MP_QSTR_UART_TX1), MP_ROM_PTR(&pin_PB31) }, // MicroMod UART_TX1 | CircuitPython TX (PB31)
7979
{ MP_ROM_QSTR(MP_QSTR_UART_RX1), MP_ROM_PTR(&pin_PB30) }, // MicroMod UART_RX1 | CircuitPython RX (PB30)
80-
// { MP_ROM_QSTR(MP_QSTR_UART_RTS1), MP_ROM_PTR() }, // MicroMod RTS1 (not connected)
81-
// { MP_ROM_QSTR(MP_QSTR_UART_CTS1), MP_ROM_PTR() }, // MicroMod CTS1 (not connected)
80+
{ MP_ROM_QSTR(MP_QSTR_UART_RTS1), MP_ROM_PTR(&pin_PB00) }, // MicroMod RTS1
81+
{ MP_ROM_QSTR(MP_QSTR_UART_CTS1), MP_ROM_PTR(&pin_PB01) }, // MicroMod CTS1
8282

8383
// CircuitPython default UART pins
8484
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_PB31) }, // CircuitPython TX | MicroMod UART_TX1 (PB31)

0 commit comments

Comments
 (0)