>>> Therefore, I would turn on support for the dummy adapter in the configure >>> script >>> by default, even if that means compiling support for 'bitbang' by default >>> too. >> >> [...] >> I'm curious about your mention of "bitbang" above - >> what specifically are you referring to there? > > This is what I mean in file configure.ac: > > AS_IF([test "x$ADAPTER_VAR([dummy])" = "xyes"], [ > build_bitbang=yes > ])
Thanks - I hadn't noticed that. However I did a clean install of Zorin OS 17.1 Core (a Ubuntu 23.10 derivative) on a VirtualBox VM and then did the following: ``` # Install minimal dependencies to allow git, bootstrap and configure to work sudo apt install git libtool pkg-config make # Clone OpenOCD cd ~/Downloads git clone https://github.com/openocd-org/openocd # Bootstrap ./bootstrap ... # Configure ./configure --prefix=... ... OpenOCD configuration summary -------------------------------------------------- MPSSE mode of FTDI based devices no ST-Link Programmer no TI ICDI JTAG Programmer no Keil ULINK JTAG Programmer no ANGIE Adapter no Altera USB-Blaster II Compatible no Bitbang mode of FT232R based devices no Versaloon-Link JTAG Programmer no TI XDS110 Debug Probe no CMSIS-DAP v2 Compliant Debugger no OSBDM (JTAG only) Programmer no eStick/opendous JTAG Programmer no Olimex ARM-JTAG-EW Programmer no Raisonance RLink JTAG Programmer no USBProg JTAG Programmer no Espressif JTAG Programmer no CMSIS-DAP Compliant Debugger no Nu-Link Programmer no Cypress KitProg Programmer no Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no Linux GPIO bitbang through libgpiod no SEGGER J-Link Programmer no Bus Pirate yes (auto) Dummy Adapter no Use Capstone disassembly framework no # Configure again but this time enable Dummy Adapter ./configure --prefix=... --enable-dummy ... OpenOCD configuration summary -------------------------------------------------- MPSSE mode of FTDI based devices no ST-Link Programmer no TI ICDI JTAG Programmer no Keil ULINK JTAG Programmer no ANGIE Adapter no Altera USB-Blaster II Compatible no Bitbang mode of FT232R based devices no Versaloon-Link JTAG Programmer no TI XDS110 Debug Probe no CMSIS-DAP v2 Compliant Debugger no OSBDM (JTAG only) Programmer no eStick/opendous JTAG Programmer no Olimex ARM-JTAG-EW Programmer no Raisonance RLink JTAG Programmer no USBProg JTAG Programmer no Espressif JTAG Programmer no CMSIS-DAP Compliant Debugger no Nu-Link Programmer no Cypress KitProg Programmer no Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no Linux GPIO bitbang through libgpiod no SEGGER J-Link Programmer no Bus Pirate yes (auto) Dummy Adapter yes Use Capstone disassembly framework no ``` So enabling the Dummy Adapter did not enable any of the two "bitbang" adapters listed. > I have submitted patches before. Would you be willing to review such a patch > then? No point doing the work if nobody here thinks it is a good idea after > all. I expect that such a change would be trivial so I am happy to review it but I expect that acceptance would depend on somebody else.