arch/nrf{52|53|91}: add missing support for 1 Mbps UART baud

This commit is contained in:
raiden00pl 2023-12-02 21:29:31 +01:00 committed by Xiang Xiao
parent 4f9d014994
commit 95ac627d59
3 changed files with 18 additions and 0 deletions

View File

@ -204,6 +204,12 @@ static void nrf52_setbaud(uintptr_t base, const struct uart_config_s *config)
break;
}
case 1000000:
{
br = UART_BAUDRATE_1000000;
break;
}
default:
{
DEBUGPANIC();

View File

@ -204,6 +204,12 @@ static void nrf53_setbaud(uintptr_t base, const struct uart_config_s *config)
break;
}
case 1000000:
{
br = UART_BAUDRATE_1000000;
break;
}
default:
{
DEBUGPANIC();

View File

@ -204,6 +204,12 @@ static void nrf91_setbaud(uintptr_t base, const struct uart_config_s *config)
break;
}
case 1000000:
{
br = UART_BAUDRATE_1000000;
break;
}
default:
{
DEBUGPANIC();