Enable UART baudrate 256000 in platform layer.

This commit is contained in:
devsaurus 2016-02-15 21:40:20 +01:00
parent 639a11e9c4
commit c88f0bd3f8
2 changed files with 2 additions and 1 deletions

View File

@ -195,6 +195,7 @@ uint32_t platform_uart_setup( unsigned id, uint32_t baud, int databits, int pari
case BIT_RATE_74880: case BIT_RATE_74880:
case BIT_RATE_115200: case BIT_RATE_115200:
case BIT_RATE_230400: case BIT_RATE_230400:
case BIT_RATE_256000:
case BIT_RATE_460800: case BIT_RATE_460800:
case BIT_RATE_921600: case BIT_RATE_921600:
case BIT_RATE_1843200: case BIT_RATE_1843200:

View File

@ -67,7 +67,7 @@ end, 0)
#### Parameters #### Parameters
- `id` always zero, only one uart supported - `id` always zero, only one uart supported
- `baud` one of 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 74880, 115200, 230400, 460800, 921600, 1843200, 2686400 - `baud` one of 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 74880, 115200, 230400, 256000, 460800, 921600, 1843200, 3686400
- `databits` one of 5, 6, 7, 8 - `databits` one of 5, 6, 7, 8
- `parity` `uart.PARITY_NONE`, `uart.PARITY_ODD`, or `uart.PARITY_EVEN` - `parity` `uart.PARITY_NONE`, `uart.PARITY_ODD`, or `uart.PARITY_EVEN`
- `stopbits` `uart.STOPBITS_1`, `uart.STOPBITS_1_5`, or `uart.STOPBITS_2` - `stopbits` `uart.STOPBITS_1`, `uart.STOPBITS_1_5`, or `uart.STOPBITS_2`