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
|
@ -551,7 +551,7 @@ DEVICE_DT_DEFINE(DT_NODELABEL(uart##idx), \
|
|||
NULL, \
|
||||
&uart_esp32_data_##idx, \
|
||||
&uart_esp32_cfg_port_##idx, \
|
||||
POST_KERNEL, \
|
||||
PRE_KERNEL_2, \
|
||||
CONFIG_SERIAL_INIT_PRIORITY, \
|
||||
&uart_esp32_api);
|
||||
|
||||
|
|
Loading…
Reference in a new issue