From b3eb5c7cb9fd823f2cd505247c5cc72fac257a33 Mon Sep 17 00:00:00 2001 From: Ninja3047 <1284324+Ninja3047@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:05:15 -0400 Subject: [PATCH] applet.interface.swd_openocd: fix missing required port argument --- software/glasgow/applet/interface/swd_openocd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/glasgow/applet/interface/swd_openocd/__init__.py b/software/glasgow/applet/interface/swd_openocd/__init__.py index 3c4ecd196..03044bc5f 100644 --- a/software/glasgow/applet/interface/swd_openocd/__init__.py +++ b/software/glasgow/applet/interface/swd_openocd/__init__.py @@ -56,7 +56,7 @@ def elaborate(self, platform): self.srst_z.eq(0), ] if self.ports.srst is not None: - m.submodules.srst_buffer = srst_buffer = io.Buffer("o") + m.submodules.srst_buffer = srst_buffer = io.Buffer("o", self.ports.srst) m.d.sync += [ srst_buffer.oe.eq(~self.srst_z), srst_buffer.o.eq(~self.srst_o)