Allow overriding JTAG interface device when running docker image

This will require any non-standard use of this container to also
specify the rpi3.cfg path when invoking.

For example:
`docker run ... -f /openocd/tcl/interface/jlink.cfg -f /openocd/rpi3.cfg`
to work with JLink interface.
pull/24/head
Berkus Decker 5 years ago committed by Andre Richter
parent f6a0fb497d
commit 71f0e8caf7

@ -57,4 +57,5 @@ RUN set -ex; \
COPY rpi3.cfg /openocd/
ENTRYPOINT ["openocd", "-f", "/openocd/tcl/interface/ftdi/olimex-arm-usb-tiny-h.cfg", "-f", "/openocd/rpi3.cfg"]
ENTRYPOINT ["openocd"]
CMD ["-f", "/openocd/tcl/interface/ftdi/olimex-arm-usb-tiny-h.cfg", "-f", "/openocd/rpi3.cfg"]

Loading…
Cancel
Save