2009-06-28 19:00:50 -05:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2005 by Dominic Rath *
|
|
|
|
* Dominic.Rath@gmx.de *
|
|
|
|
* *
|
|
|
|
* Copyright (C) 2007,2008 Øyvind Harboe *
|
|
|
|
* oyvind.harboe@zylin.com *
|
|
|
|
* *
|
|
|
|
* Copyright (C) 2009 SoftPLC Corporation *
|
|
|
|
* http://softplc.com *
|
|
|
|
* dick@softplc.com *
|
|
|
|
* *
|
|
|
|
* Copyright (C) 2009 Zachary T Welch *
|
|
|
|
* zw@superlucidity.net *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
2016-05-16 15:41:00 -05:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
2009-06-28 19:00:50 -05:00
|
|
|
***************************************************************************/
|
2012-02-02 09:13:13 -06:00
|
|
|
|
2009-06-28 19:00:50 -05:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "interfaces.h"
|
|
|
|
|
2009-06-30 00:33:57 -05:00
|
|
|
/** @file
|
|
|
|
* This file includes declarations for all built-in jtag interfaces,
|
2019-01-22 09:31:18 -06:00
|
|
|
* which are then listed in the adapter_drivers array.
|
2009-06-28 19:00:50 -05:00
|
|
|
*
|
2009-06-30 00:33:57 -05:00
|
|
|
* Dynamic loading can be implemented be searching for shared libraries
|
2019-01-22 09:31:18 -06:00
|
|
|
* that contain an adapter_driver structure that can added to this list.
|
2009-06-28 19:00:50 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#if BUILD_ZY1000 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver zy1000_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#elif defined(BUILD_MINIDRIVER_DUMMY)
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver minidummy_adapter_driver;
|
2012-02-02 09:13:13 -06:00
|
|
|
#else /* standard drivers */
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_PARPORT == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver parport_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_DUMMY == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver dummy_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
Add FTDI JTAG driver using MPSSE layer
Based on ft2232.c but uses the MPSSE layer for low-level access, greatly
simplifying the JTAG logic. Remove all libftdi/FTD2XX code and all layout
specific code. Layout specifications are instead handled in Tcl.
Use a signal abstraction to enable Tcl configuration files to define
outputs for one or several FTDI GPIO. These outputs can then be
controlled using the ftdi_set_signal command. Special signal names are
reserved for nTRST, nSRST and LED (for blink) so that they, if defined,
will be used for their customary purpose.
Depending on the type of buffer attached to the FTDI GPIO, the outputs
have to be controlled differently. In order to support tristateable
signals such as nSRST, both a data GPIO and an output-enable GPIO can be
specified for each signal. The following output buffer configurations are
supported:
* Push-pull with one FTDI output as (non-)inverted data line
* Open drain with one FTDI output as (non-)inverted output-enable
* Tristate with one FTDI output as (non-)inverted data line and another
FTDI output as (non-)inverted output-enable
* Unbuffered, using the FTDI GPIO as a tristate output directly by
switching data and direction as necessary
The data and output-enables are specified as 16-bit bitmasks,
corresponding to the concatenation of the high and low FTDI GPIO
registers. To specify an unbuffered output, use the same bitmask
for both data and output-enable.
The adapter configuration file must also specify default values for the
FTDI data and direction GPIO registers, and the channel being used (if
different from 0).
Change-Id: I287a41d4c696cf5fc74eb10d5e63578b0dc7f826
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/452
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
2012-01-29 17:45:18 -06:00
|
|
|
#if BUILD_FTDI == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver ftdi_adapter_driver;
|
Add FTDI JTAG driver using MPSSE layer
Based on ft2232.c but uses the MPSSE layer for low-level access, greatly
simplifying the JTAG logic. Remove all libftdi/FTD2XX code and all layout
specific code. Layout specifications are instead handled in Tcl.
Use a signal abstraction to enable Tcl configuration files to define
outputs for one or several FTDI GPIO. These outputs can then be
controlled using the ftdi_set_signal command. Special signal names are
reserved for nTRST, nSRST and LED (for blink) so that they, if defined,
will be used for their customary purpose.
Depending on the type of buffer attached to the FTDI GPIO, the outputs
have to be controlled differently. In order to support tristateable
signals such as nSRST, both a data GPIO and an output-enable GPIO can be
specified for each signal. The following output buffer configurations are
supported:
* Push-pull with one FTDI output as (non-)inverted data line
* Open drain with one FTDI output as (non-)inverted output-enable
* Tristate with one FTDI output as (non-)inverted data line and another
FTDI output as (non-)inverted output-enable
* Unbuffered, using the FTDI GPIO as a tristate output directly by
switching data and direction as necessary
The data and output-enables are specified as 16-bit bitmasks,
corresponding to the concatenation of the high and low FTDI GPIO
registers. To specify an unbuffered output, use the same bitmask
for both data and output-enable.
The adapter configuration file must also specify default values for the
FTDI data and direction GPIO registers, and the channel being used (if
different from 0).
Change-Id: I287a41d4c696cf5fc74eb10d5e63578b0dc7f826
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/452
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
2012-01-29 17:45:18 -06:00
|
|
|
#endif
|
2016-02-15 16:17:24 -06:00
|
|
|
#if BUILD_USB_BLASTER == 1 || BUILD_USB_BLASTER_2 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver usb_blaster_adapter_driver;
|
2009-12-26 17:05:06 -06:00
|
|
|
#endif
|
2013-09-06 11:42:39 -05:00
|
|
|
#if BUILD_JTAG_VPI == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver jtag_vpi_adapter_driver;
|
2013-09-06 11:42:39 -05:00
|
|
|
#endif
|
2017-09-03 05:19:41 -05:00
|
|
|
#if BUILD_FT232R == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver ft232r_adapter_driver;
|
2017-09-03 05:19:41 -05:00
|
|
|
#endif
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_AMTJTAGACCEL == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver amt_jtagaccel_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_EP93XX == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver ep93xx_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_AT91RM9200 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver at91rm9200_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_GW16012 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver gw16012_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2016-02-15 16:17:24 -06:00
|
|
|
#if BUILD_PRESTO
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver presto_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_USBPROG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver usbprog_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2013-05-15 12:13:50 -05:00
|
|
|
#if BUILD_OPENJTAG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver openjtag_adapter_driver;
|
2013-05-15 12:13:50 -05:00
|
|
|
#endif
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_JLINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver jlink_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_VSLLINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver vsllink_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_RLINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver rlink_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2011-06-20 12:49:24 -05:00
|
|
|
#if BUILD_ULINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver ulink_adapter_driver;
|
2011-06-20 12:49:24 -05:00
|
|
|
#endif
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_ARMJTAGEW == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver armjtagew_adapter_driver;
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2010-03-08 06:45:14 -06:00
|
|
|
#if BUILD_BUSPIRATE == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver buspirate_adapter_driver;
|
2010-03-08 06:45:14 -06:00
|
|
|
#endif
|
2011-08-25 15:29:33 -05:00
|
|
|
#if BUILD_REMOTE_BITBANG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver remote_bitbang_adapter_driver;
|
2011-08-25 15:29:33 -05:00
|
|
|
#endif
|
2012-10-24 09:07:11 -05:00
|
|
|
#if BUILD_HLADAPTER == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver hl_adapter_driver;
|
2011-12-21 10:03:11 -06:00
|
|
|
#endif
|
2012-02-27 14:51:12 -06:00
|
|
|
#if BUILD_OSBDM == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver osbdm_adapter_driver;
|
2012-02-27 14:51:12 -06:00
|
|
|
#endif
|
2012-05-11 03:10:54 -05:00
|
|
|
#if BUILD_OPENDOUS == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver opendous_adapter_driver;
|
2012-05-11 03:10:54 -05:00
|
|
|
#endif
|
2012-08-19 18:46:07 -05:00
|
|
|
#if BUILD_SYSFSGPIO == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver sysfsgpio_adapter_driver;
|
2012-08-19 18:46:07 -05:00
|
|
|
#endif
|
2013-02-04 19:34:18 -06:00
|
|
|
#if BUILD_AICE == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver aice_adapter_driver;
|
2013-02-04 19:34:18 -06:00
|
|
|
#endif
|
2012-07-22 08:28:02 -05:00
|
|
|
#if BUILD_BCM2835GPIO == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver bcm2835gpio_adapter_driver;
|
2012-07-22 08:28:02 -05:00
|
|
|
#endif
|
2013-12-19 15:33:19 -06:00
|
|
|
#if BUILD_CMSIS_DAP == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver cmsis_dap_adapter_driver;
|
2013-12-19 15:33:19 -06:00
|
|
|
#endif
|
2016-01-29 23:23:49 -06:00
|
|
|
#if BUILD_KITPROG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver kitprog_adapter_driver;
|
2016-01-29 23:23:49 -06:00
|
|
|
#endif
|
2017-04-18 09:12:58 -05:00
|
|
|
#if BUILD_IMX_GPIO == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver imx_gpio_adapter_driver;
|
2017-04-18 09:12:58 -05:00
|
|
|
#endif
|
2018-01-02 15:27:51 -06:00
|
|
|
#if BUILD_XDS110 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
extern struct adapter_driver xds110_adapter_driver;
|
2018-01-02 15:27:51 -06:00
|
|
|
#endif
|
2012-02-02 09:13:13 -06:00
|
|
|
#endif /* standard drivers */
|
2009-06-28 19:00:50 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The list of built-in JTAG interfaces, containing entries for those
|
|
|
|
* drivers that were enabled by the @c configure script.
|
|
|
|
*
|
|
|
|
* The list should be defined to contain either one minidriver interface
|
|
|
|
* or some number of standard driver interfaces, never both.
|
|
|
|
*/
|
2019-01-22 09:31:18 -06:00
|
|
|
struct adapter_driver *adapter_drivers[] = {
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_ZY1000 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&zy1000_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#elif defined(BUILD_MINIDRIVER_DUMMY)
|
2019-01-22 09:31:18 -06:00
|
|
|
&minidummy_adapter_driver,
|
2012-02-02 09:13:13 -06:00
|
|
|
#else /* standard drivers */
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_PARPORT == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&parport_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_DUMMY == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&dummy_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
Add FTDI JTAG driver using MPSSE layer
Based on ft2232.c but uses the MPSSE layer for low-level access, greatly
simplifying the JTAG logic. Remove all libftdi/FTD2XX code and all layout
specific code. Layout specifications are instead handled in Tcl.
Use a signal abstraction to enable Tcl configuration files to define
outputs for one or several FTDI GPIO. These outputs can then be
controlled using the ftdi_set_signal command. Special signal names are
reserved for nTRST, nSRST and LED (for blink) so that they, if defined,
will be used for their customary purpose.
Depending on the type of buffer attached to the FTDI GPIO, the outputs
have to be controlled differently. In order to support tristateable
signals such as nSRST, both a data GPIO and an output-enable GPIO can be
specified for each signal. The following output buffer configurations are
supported:
* Push-pull with one FTDI output as (non-)inverted data line
* Open drain with one FTDI output as (non-)inverted output-enable
* Tristate with one FTDI output as (non-)inverted data line and another
FTDI output as (non-)inverted output-enable
* Unbuffered, using the FTDI GPIO as a tristate output directly by
switching data and direction as necessary
The data and output-enables are specified as 16-bit bitmasks,
corresponding to the concatenation of the high and low FTDI GPIO
registers. To specify an unbuffered output, use the same bitmask
for both data and output-enable.
The adapter configuration file must also specify default values for the
FTDI data and direction GPIO registers, and the channel being used (if
different from 0).
Change-Id: I287a41d4c696cf5fc74eb10d5e63578b0dc7f826
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/452
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
2012-01-29 17:45:18 -06:00
|
|
|
#if BUILD_FTDI == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&ftdi_adapter_driver,
|
Add FTDI JTAG driver using MPSSE layer
Based on ft2232.c but uses the MPSSE layer for low-level access, greatly
simplifying the JTAG logic. Remove all libftdi/FTD2XX code and all layout
specific code. Layout specifications are instead handled in Tcl.
Use a signal abstraction to enable Tcl configuration files to define
outputs for one or several FTDI GPIO. These outputs can then be
controlled using the ftdi_set_signal command. Special signal names are
reserved for nTRST, nSRST and LED (for blink) so that they, if defined,
will be used for their customary purpose.
Depending on the type of buffer attached to the FTDI GPIO, the outputs
have to be controlled differently. In order to support tristateable
signals such as nSRST, both a data GPIO and an output-enable GPIO can be
specified for each signal. The following output buffer configurations are
supported:
* Push-pull with one FTDI output as (non-)inverted data line
* Open drain with one FTDI output as (non-)inverted output-enable
* Tristate with one FTDI output as (non-)inverted data line and another
FTDI output as (non-)inverted output-enable
* Unbuffered, using the FTDI GPIO as a tristate output directly by
switching data and direction as necessary
The data and output-enables are specified as 16-bit bitmasks,
corresponding to the concatenation of the high and low FTDI GPIO
registers. To specify an unbuffered output, use the same bitmask
for both data and output-enable.
The adapter configuration file must also specify default values for the
FTDI data and direction GPIO registers, and the channel being used (if
different from 0).
Change-Id: I287a41d4c696cf5fc74eb10d5e63578b0dc7f826
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/452
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
2012-01-29 17:45:18 -06:00
|
|
|
#endif
|
2016-02-15 16:17:24 -06:00
|
|
|
#if BUILD_USB_BLASTER || BUILD_USB_BLASTER_2 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&usb_blaster_adapter_driver,
|
2009-12-26 17:05:06 -06:00
|
|
|
#endif
|
2013-09-06 11:42:39 -05:00
|
|
|
#if BUILD_JTAG_VPI == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&jtag_vpi_adapter_driver,
|
2013-09-06 11:42:39 -05:00
|
|
|
#endif
|
2017-09-03 05:19:41 -05:00
|
|
|
#if BUILD_FT232R == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&ft232r_adapter_driver,
|
2017-09-03 05:19:41 -05:00
|
|
|
#endif
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_AMTJTAGACCEL == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&amt_jtagaccel_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_EP93XX == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&ep93xx_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_AT91RM9200 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&at91rm9200_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_GW16012 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&gw16012_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2016-02-15 16:17:24 -06:00
|
|
|
#if BUILD_PRESTO
|
2019-01-22 09:31:18 -06:00
|
|
|
&presto_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_USBPROG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&usbprog_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2013-05-15 12:13:50 -05:00
|
|
|
#if BUILD_OPENJTAG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&openjtag_adapter_driver,
|
2013-05-15 12:13:50 -05:00
|
|
|
#endif
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_JLINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&jlink_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_VSLLINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&vsllink_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
|
|
|
#if BUILD_RLINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&rlink_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2011-06-20 12:49:24 -05:00
|
|
|
#if BUILD_ULINK == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&ulink_adapter_driver,
|
2011-06-20 12:49:24 -05:00
|
|
|
#endif
|
2009-06-28 19:00:50 -05:00
|
|
|
#if BUILD_ARMJTAGEW == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&armjtagew_adapter_driver,
|
2009-06-28 19:00:50 -05:00
|
|
|
#endif
|
2010-03-08 06:45:14 -06:00
|
|
|
#if BUILD_BUSPIRATE == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&buspirate_adapter_driver,
|
2010-03-08 06:45:14 -06:00
|
|
|
#endif
|
2011-08-25 15:29:33 -05:00
|
|
|
#if BUILD_REMOTE_BITBANG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&remote_bitbang_adapter_driver,
|
2011-08-25 15:29:33 -05:00
|
|
|
#endif
|
2012-10-24 09:07:11 -05:00
|
|
|
#if BUILD_HLADAPTER == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&hl_adapter_driver,
|
2011-12-21 10:03:11 -06:00
|
|
|
#endif
|
2012-02-27 14:51:12 -06:00
|
|
|
#if BUILD_OSBDM == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&osbdm_adapter_driver,
|
2012-02-27 14:51:12 -06:00
|
|
|
#endif
|
2012-05-11 03:10:54 -05:00
|
|
|
#if BUILD_OPENDOUS == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&opendous_adapter_driver,
|
2012-05-11 03:10:54 -05:00
|
|
|
#endif
|
2012-08-19 18:46:07 -05:00
|
|
|
#if BUILD_SYSFSGPIO == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&sysfsgpio_adapter_driver,
|
2012-08-19 18:46:07 -05:00
|
|
|
#endif
|
2013-02-04 19:34:18 -06:00
|
|
|
#if BUILD_AICE == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&aice_adapter_driver,
|
2013-02-04 19:34:18 -06:00
|
|
|
#endif
|
2012-07-22 08:28:02 -05:00
|
|
|
#if BUILD_BCM2835GPIO == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&bcm2835gpio_adapter_driver,
|
2012-07-22 08:28:02 -05:00
|
|
|
#endif
|
2013-12-19 15:33:19 -06:00
|
|
|
#if BUILD_CMSIS_DAP == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&cmsis_dap_adapter_driver,
|
2013-12-19 15:33:19 -06:00
|
|
|
#endif
|
2016-01-29 23:23:49 -06:00
|
|
|
#if BUILD_KITPROG == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&kitprog_adapter_driver,
|
2016-01-29 23:23:49 -06:00
|
|
|
#endif
|
2017-04-18 09:12:58 -05:00
|
|
|
#if BUILD_IMX_GPIO == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&imx_gpio_adapter_driver,
|
2017-04-18 09:12:58 -05:00
|
|
|
#endif
|
2018-01-02 15:27:51 -06:00
|
|
|
#if BUILD_XDS110 == 1
|
2019-01-22 09:31:18 -06:00
|
|
|
&xds110_adapter_driver,
|
2018-01-02 15:27:51 -06:00
|
|
|
#endif
|
2012-02-02 09:13:13 -06:00
|
|
|
#endif /* standard drivers */
|
2009-06-28 19:00:50 -05:00
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
2019-01-22 09:31:18 -06:00
|
|
|
void adapter_driver_modules_load(const char *path)
|
2009-06-28 19:00:50 -05:00
|
|
|
{
|
2019-01-22 09:31:18 -06:00
|
|
|
/* @todo: implement dynamic module loading for adapter drivers */
|
2009-06-28 19:00:50 -05:00
|
|
|
}
|