summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-24 22:54:30 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-04 00:16:34 -0700
commit3f49a57b99e7fe5aafa73e70ed146d98b1ae174c (patch)
treed72daabeedecbc397cdce739639f8cf2cb947685 /build-aux
parent7a1f764cda070de396fcb186e1f7457ff2704ba4 (diff)
libhw: rp2040_hwspi: Use interrupts instead of busy-polling
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/stack.c.gen5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-aux/stack.c.gen b/build-aux/stack.c.gen
index 66d837a..60f51fe 100755
--- a/build-aux/stack.c.gen
+++ b/build-aux/stack.c.gen
@@ -505,6 +505,7 @@ class LibHWPlugin:
"hostclock_handle_sig_alarm",
"hostnet_handle_sig_io",
"gpioirq_handler",
+ "dmairq_handler",
]
def extra_nodes(self) -> typing.Collection[Node]:
@@ -527,6 +528,10 @@ class LibHWPlugin:
return [
"w5500_intrhandler",
], False
+ if "/rp2040_dmairq.c:" in loc and "handler->fn" in line:
+ return [
+ "rp2040_hwspi_intrhandler",
+ ], False
return None
def skip_call(self, chain: list[str], call: str) -> bool: