Merge pull request #12407 from mprse/NRF_restricyed_uart_fix

Disable restricted uart peripheral for NRF52840
pull/12431/head
Martin Kojtal 2020-02-13 09:45:16 +00:00 committed by GitHub
commit df6d0729b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -303,3 +303,14 @@ const PinMap PinMap_QSPI_testing[] = {
{NC, NC, 0}
};
/* On NRF we have just dummy pin-maps for testing (no peripherals are specified).
Disable restriction for STDIO uart peripheral. */
const PeripheralList *pinmap_uart_restricted_peripherals()
{
static const PeripheralList peripheral_list = {
0,
0
};
return &peripheral_list;
}