1config BR2_PACKAGE_OPENOCD 2 bool "openocd" 3 select BR2_PACKAGE_JIMTCL 4 help 5 OpenOCD - Open On-Chip Debugger 6 7 http://openocd.sourceforge.net/ 8 9if BR2_PACKAGE_OPENOCD 10 11comment "Adapters" 12 13config BR2_PACKAGE_OPENOCD_CMSIS_DAP 14 bool "CMSIS-DAP compliant debuggers" 15 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 16 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 17 depends on BR2_PACKAGE_HAS_UDEV # hidapi 18 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi 19 select BR2_PACKAGE_LIBUSB 20 select BR2_PACKAGE_HIDAPI 21 help 22 Enable support for CMSIS-DAP compliant debuggers (i.e 23 Atmel/Microchip EDBG, etc.) 24 25config BR2_PACKAGE_OPENOCD_FTDI 26 bool "MPSSE mode of FTDI based devices" 27 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 28 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 29 select BR2_PACKAGE_LIBUSB 30 help 31 Enable building support for the MPSSE mode of FTDI 32 (FT2xxx/FT4xxx) based devices (default is auto) 33 34config BR2_PACKAGE_OPENOCD_STLINK 35 bool "ST-Link JTAG Programmer" 36 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 37 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 38 select BR2_PACKAGE_LIBUSB 39 help 40 Enable building support for the ST-Link JTAG 41 Programmer (default is auto) 42 43config BR2_PACKAGE_OPENOCD_TI_ICDI 44 bool "TI ICDI JTAG Programmer" 45 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 46 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 47 select BR2_PACKAGE_LIBUSB 48 help 49 Enable building support for the TI ICDI JTAG 50 Programmer (default is auto) 51 52config BR2_PACKAGE_OPENOCD_ULINK 53 bool "Keil ULINK JTAG Programmer" 54 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 55 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 56 select BR2_PACKAGE_LIBUSB 57 help 58 Enable building support for the Keil ULINK JTAG 59 Programmer (default is auto) 60 61config BR2_PACKAGE_OPENOCD_UBLASTER2 62 bool "Altera USB-Blaster II Compatible" 63 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 64 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 65 select BR2_PACKAGE_LIBUSB 66 help 67 Enable building support for the Altera USB-Blaster 68 II Compatible (default is auto) 69 70config BR2_PACKAGE_OPENOCD_JLINK 71 bool "Segger J-Link JTAG Programmer" 72 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 73 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 74 select BR2_PACKAGE_LIBUSB 75 help 76 Segger J-Link JTAG Programmer and clone such as Atmel 77 SAM-ICE 78 79config BR2_PACKAGE_OPENOCD_OSDBM 80 bool "OSDBM JTAG (only) Programmer" 81 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 82 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 83 select BR2_PACKAGE_LIBUSB 84 help 85 Enable building support for the OSBDM (JTAG only) 86 Programmer (default is auto) 87 88config BR2_PACKAGE_OPENOCD_OPENDOUS 89 bool "eStick/opendous JTAG Programmer" 90 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 91 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 92 select BR2_PACKAGE_LIBUSB 93 help 94 Enable building support for the eStick/opendous JTAG 95 Programmer (default is auto) 96 97config BR2_PACKAGE_OPENOCD_AICE 98 bool "Andes JTAG Programmer" 99 depends on BR2_USE_MMU # use fork() 100 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 101 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 102 select BR2_PACKAGE_LIBUSB 103 help 104 Enable building support for the Andes JTAG 105 Programmer (default is auto) 106 107config BR2_PACKAGE_OPENOCD_VSLLINK 108 bool "Versaloon-Link JTAG Programmer" 109 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb 110 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb 111 select BR2_PACKAGE_LIBUSB 112 select BR2_PACKAGE_LIBUSB_COMPAT 113 help 114 Enable building support for the Versaloon-Link JTAG 115 Programmer (default is auto) 116 117config BR2_PACKAGE_OPENOCD_USBPROG 118 bool "USBProg JTAG Programmer" 119 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb 120 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb 121 select BR2_PACKAGE_LIBUSB 122 select BR2_PACKAGE_LIBUSB_COMPAT 123 help 124 Enable building support for the USBProg JTAG 125 Programmer (default is auto) 126 127config BR2_PACKAGE_OPENOCD_RLINK 128 bool "Raisonance RLink JTAG Programmer" 129 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb 130 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb 131 select BR2_PACKAGE_LIBUSB 132 select BR2_PACKAGE_LIBUSB_COMPAT 133 help 134 Enable building support for the Raisonance RLink 135 JTAG Programmer (default is auto) 136 137config BR2_PACKAGE_OPENOCD_ARMEW 138 bool "Olimex ARM-JTAG-EW Programmer" 139 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb 140 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb 141 select BR2_PACKAGE_LIBUSB 142 select BR2_PACKAGE_LIBUSB_COMPAT 143 help 144 Enable building support for the Olimex ARM-JTAG-EW 145 Programmer (default is auto) 146 147config BR2_PACKAGE_OPENOCD_XDS110 148 bool "TI XDS110 Debug Probe" 149 depends on BR2_USE_WCHAR 150 depends on BR2_TOOLCHAIN_HAS_THREADS # libusb 151 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 152 select BR2_PACKAGE_LIBUSB 153 help 154 Enable building support for the TI XDS110 Debug Probe. 155 156config BR2_PACKAGE_OPENOCD_PARPORT 157 bool "pc parallel port driver" 158 help 159 Enable building the pc parallel port driver 160 161config BR2_PACKAGE_OPENOCD_VPI 162 bool "JTAG VPI" 163 help 164 Enable building support for JTAG VPI 165 166config BR2_PACKAGE_OPENOCD_UBLASTER 167 bool "Altera USB-Blaster" 168 depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb 169 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb 170 select BR2_PACKAGE_LIBFTDI1 171 help 172 Enable building support for the Altera USB-Blaster 173 using the libftdi driver, opensource alternate of 174 FTD2XX 175 176config BR2_PACKAGE_OPENOCD_AMTJT 177 bool "Amontec JTAG-Accelerator" 178 help 179 Enable building the Amontec JTAG-Accelerator driver 180 181if BR2_arm 182 183config BR2_PACKAGE_OPENOCD_EP93XX 184 bool "EP93xx based SBCs" 185 help 186 Enable building support for EP93xx based SBCs 187 188config BR2_PACKAGE_OPENOCD_AT91RM 189 bool "AT91RM9200 based SBCs" 190 help 191 Enable building support for AT91RM9200 based SBCs 192 193config BR2_PACKAGE_OPENOCD_BCM2835 194 bool "bitbanging on BCM2835" 195 help 196 Enable building support for bitbanging on BCM2835 197 (as found in Raspberry Pi) 198 199endif # BR2_arm 200 201config BR2_PACKAGE_OPENOCD_GW16012 202 bool "Gateworks GW16012 JTAG Programmer" 203 help 204 Enable building support for the Gateworks GW16012 205 JTAG Programmer 206 207config BR2_PACKAGE_OPENOCD_PRESTO 208 bool "ASIX Presto Programmer" 209 depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb 210 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb 211 select BR2_PACKAGE_LIBFTDI1 212 help 213 Enable building support for ASIX Presto Programmer 214 using the libftdi driver 215 216config BR2_PACKAGE_OPENOCD_OPENJTAG 217 bool "OpenJTAG Programmer" 218 depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb 219 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb 220 select BR2_PACKAGE_LIBFTDI1 221 select BR2_PACKAGE_LIBUSB 222 select BR2_PACKAGE_LIBUSB_COMPAT # needs usb.h 223 help 224 Enable building support for the OpenJTAG Programmer 225 with ftdi driver 226 227config BR2_PACKAGE_OPENOCD_BUSPIRATE 228 bool "Buspirate" 229 help 230 Enable building support for the Buspirate 231 232config BR2_PACKAGE_OPENOCD_SYSFS 233 bool "programming via sysfs gpios" 234 help 235 Enable building support for programming driven via 236 sysfs gpios. 237 238# Many adapters need libusb or libusb-compat, which require threads and 239# gcc >= 4.9 but we don't want to duplicate this comment for all 240# adapters that select libusb or libusb-compat. 241comment "many openocd adapters needs a toolchain w/ threads, gcc >= 4.9" 242 depends on !BR2_TOOLCHAIN_HAS_THREADS || \ 243 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 244 245comment "xds110 adapter support needs toolchain w/ wchar" 246 depends on !BR2_USE_WCHAR 247 depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 248 249endif # BR2_PACKAGE_OPENOCD 250