Skip to content

Commit df6d072

Browse files
authored
Merge pull request #12407 from mprse/NRF_restricyed_uart_fix
Disable restricted uart peripheral for NRF52840
2 parents 667f8bb + d541b46 commit df6d072

File tree

1 file changed

+11
-0
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840

1 file changed

+11
-0
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/PeripheralPins.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,14 @@ const PinMap PinMap_QSPI_testing[] = {
303303

304304
{NC, NC, 0}
305305
};
306+
307+
/* On NRF we have just dummy pin-maps for testing (no peripherals are specified).
308+
Disable restriction for STDIO uart peripheral. */
309+
const PeripheralList *pinmap_uart_restricted_peripherals()
310+
{
311+
static const PeripheralList peripheral_list = {
312+
0,
313+
0
314+
};
315+
return &peripheral_list;
316+
}

0 commit comments

Comments
 (0)