diff options
author | Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at> | 2013-06-27 19:26:19 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-07-17 14:30:41 +0000 |
commit | f684252b2530d86f3a8330940105b86c770231f1 (patch) | |
tree | 6a5e17272d678fe6c22c9cc7a9e984554b66b840 /configure.ac | |
parent | 8faa419fad72592970911b7973c61a88e785bcc0 (diff) | |
download | riscv-openocd-f684252b2530d86f3a8330940105b86c770231f1.zip riscv-openocd-f684252b2530d86f3a8330940105b86c770231f1.tar.gz riscv-openocd-f684252b2530d86f3a8330940105b86c770231f1.tar.bz2 |
ULINK driver: port from libusb-0.1 to libusb-1.0 API
The ULINK driver now uses libusb-1.0 calls (synchronous device I/O) directly
(not the common layer provided by libusb1_common.c)
Successfully tested with ULINK probe and STM32F103 (debug, erase and write
flash).
Change-Id: Ic037a3582db85e49a8cc1ec0dd36f629e4757929
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Reviewed-on: http://openocd.zylin.com/1459
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2998ec7..1895813 100644 --- a/configure.ac +++ b/configure.ac @@ -1177,7 +1177,7 @@ fi # check if some driver requires libusb-0.1 need_usb0=no if test $build_vsllink = yes -o $build_usbprog = yes -o \ - $build_rlink = yes -o $build_ulink = yes -o $build_armjtagew = yes; then + $build_rlink = yes -o $build_armjtagew = yes; then need_usb0=yes fi @@ -1191,7 +1191,7 @@ fi # check if some driver requires libusb-1.x need_usb_ng=no if test $build_ftdi = yes -o $build_hladapter_icdi = yes -o \ - $build_hladapter_stlink = yes; then + $build_hladapter_stlink = yes -o $build_ulink = yes; then need_usb_ng=yes fi |