drivers: uart: esp32: set device to initialize pre-kernel
Uart post kernel initialization does not allow starting shell properly. This issue was added in UART unifying PR. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
3c5e937ae2
commit
b0c48a2182
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ DEVICE_DT_DEFINE(DT_NODELABEL(uart##idx), \
|
||||||
NULL, \
|
NULL, \
|
||||||
&uart_esp32_data_##idx, \
|
&uart_esp32_data_##idx, \
|
||||||
&uart_esp32_cfg_port_##idx, \
|
&uart_esp32_cfg_port_##idx, \
|
||||||
POST_KERNEL, \
|
PRE_KERNEL_2, \
|
||||||
CONFIG_SERIAL_INIT_PRIORITY, \
|
CONFIG_SERIAL_INIT_PRIORITY, \
|
||||||
&uart_esp32_api);
|
&uart_esp32_api);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue