added poll api passthrough

This commit is contained in:
2026-03-11 20:34:44 +01:00
commit 9f05489b3a
13 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_POLL_BRIDGE=y

View File

@@ -0,0 +1,18 @@
/ {
aliases {
testuart = &test_uart;
};
test_uart: test_uart {
compatible = "uart-interrupt-poll-bridge";
uart = <&uart20>;
timer = <&timer00>;
interrupts = <1 2>;
interrupt-parent = <&nvic>;
status = "okay";
};
};
&timer00 {
status = "okay";
};