Config.in 7.5 KB

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