Skip to content

Commit bc4b309

Browse files
committed
drivers: uart: esp32: revert level to PRE_KERNEL_1
printf is failing in hello_world sample due to current uart driver init level. This reverts back to PRE_KERNEL_1. Signed-off-by: Sylvio Alves <[email protected]>
1 parent bf104d4 commit bc4b309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_esp32.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ static DEVICE_API(uart, uart_esp32_api) = {
10571057
ESP_UART_UHCI_INIT(idx)}; \
10581058
\
10591059
DEVICE_DT_INST_DEFINE(idx, uart_esp32_init, NULL, &uart_esp32_data_##idx, \
1060-
&uart_esp32_cfg_port_##idx, PRE_KERNEL_2, \
1060+
&uart_esp32_cfg_port_##idx, PRE_KERNEL_1, \
10611061
CONFIG_SERIAL_INIT_PRIORITY, &uart_esp32_api);
10621062

10631063
DT_INST_FOREACH_STATUS_OKAY(ESP32_UART_INIT);

0 commit comments

Comments
 (0)