wires

summary refs log tree commit diff
path: root/docker/openocd
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-03-19 17:09:41 -0400
committerwires <wires@noreply.wires.systems>2025-03-19 17:09:41 -0400
commit8466e9b4d2fbca85d53d8dadc87914b4766c43de (patch)
tree99a0d7a23e805f4ad3e30814ee9a09ebb00ae08b /docker/openocd
downloadzosimos-8466e9b4d2fbca85d53d8dadc87914b4766c43de.tar.gz
initial commit
Diffstat (limited to 'docker/openocd')
-rw-r--r--docker/openocd/Dockerfile7
-rw-r--r--docker/openocd/interface/ft2232h.cfg8
2 files changed, 15 insertions, 0 deletions
diff --git a/docker/openocd/Dockerfile b/docker/openocd/Dockerfile
new file mode 100644
index 0000000..f30964e
--- /dev/null
+++ b/docker/openocd/Dockerfile
@@ -0,0 +1,7 @@
+FROM alpine:3
+
+RUN apk add --no-cache openocd
+
+ADD interface/ft2232h.cfg /usr/share/openocd/scripts/interface/
+
+ENTRYPOINT ["openocd"]
diff --git a/docker/openocd/interface/ft2232h.cfg b/docker/openocd/interface/ft2232h.cfg
new file mode 100644
index 0000000..441b853
--- /dev/null
+++ b/docker/openocd/interface/ft2232h.cfg
@@ -0,0 +1,8 @@
+adapter driver ftdi
+
+ftdi device_desc "FT2232H MiniModule"
+ftdi vid_pid   0x0403 0x6010
+
+ftdi layout_init 0x0000 0x000b
+
+ftdi channel 0