aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-11-10discovery/usb: Add product ID (PID) 0x1055HEADmasterFredrik Ahlberg-1/+2
Signed-off-by: Fredrik Ahlberg <fredrik@z80.se>
2018-10-09discovery/usb: Add product ID (PID) 0x1020Marc Schink-1/+2
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2018-07-30Add jaylink_device_get_usb_bus_ports()Oleksij Rempel-1/+65
The function is needed for USB path filtering within OpenOCD. This change bumps libusb version requirement to 1.0.16. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de> [jaylink-dev@marcschink.de: Rework API and cleanups] Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
2018-02-05Add constants for IPv4 device informationMarc Schink-1/+32
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-08-31configure.ac: Remove 'check-news' Automake optionMarc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-08-22discovery/tcp: Ignore already discovered devicesMarc Schink-3/+10
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-08-22transport/tcp: Fix socket timeouts on WindowsMarc Schink-20/+51
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-26Make use of JAYLINK_LOG_LEVEL_DEBUG_IOMarc Schink-20/+23
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-26Add JAYLINK_LOG_LEVEL_DEBUG_IOMarc Schink-2/+21
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12Add missing call to libusb_exit()Marc Schink-0/+3
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12configure.ac: Add switch to disable libusb supportMarc Schink-9/+18
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12configure.ac: Show enabled transportsMarc Schink-0/+8
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12Make libusb optionalMarc Schink-36/+113
Foolishly, 'interface' is a reserved keyword on Windows according to MSDN: https://msdn.microsoft.com/en-us/library/2kb28261.aspx Rename all 'interface' identifiers in the source code to avoid possible conflicts. This is necessary because if libusb is not available, the keyword is not undefined (#undef) by libusb.h any longer. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12Update jaylink_device_get_usb_address() documentationMarc Schink-1/+2
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12transport: Add initial TCP/IP supportMarc Schink-564/+1396
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12Add functions to query information about TCP/IP devicesMarc Schink-4/+178
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-07-12discovery: Add initial TCP/IP supportMarc Schink-274/+953
The current implementation uses 'limited broadcasts' for device discovery. The disadvantages are that they are not routed and that device discovery may not work reliable if multiple network interfaces are available. Furthermore, they do not work on FreeBSD. If required, support for device discovery with 'directed broadcasts' will be added in the future. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-03-09device: Add function to retrieve counter valuesMarc Schink-0/+95
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2017-01-01Bump package version to 0.2.0Marc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-12-28NEWS: Update for 0.1.0 release0.1.0Marc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-12-28Add Doxygen output directory to .gitignoreMarc Schink-0/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-12-11Initialize variable to make scan-build happyMarc Schink-0/+1
scan-build generates the following warning: ../../libjaylink/discovery.c:234:21: warning: Assigned value is garbage or undefined dev->serial_number = serial_number; The variable 'serial_number' is not initialized if the device has no valid serial number. This is not a real issue because the variable will never be accessed if the device has no valid serial number. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-12-08Add Doxyfile to .gitignoreMarc Schink-0/+1
Thanks to Uwe Bonnes for reporting this. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-17README: Minor cosmetic fixesMarc Schink-7/+7
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-17Fix package version in out-of-tree buildsMarc Schink-2/+4
Do not determine the Git revision hash from the repository in the current working directory because, in some circumstances, the revision hash of a commit from a different repository is used. For example, this happens when 'configure' is called from within an other Git repository. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-17NEWS: Prepare for 0.1.0 releaseMarc Schink-0/+5
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-15Makefile.am: Do not distribute version.hMarc Schink-3/+2
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-15Minor code and documentation cleanupsMarc Schink-94/+93
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-15Print error code in error messagesMarc Schink-3/+6
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-15Improve error handling in jaylink_swo_get_speeds()Marc Schink-2/+7
Cover all possible error codes which may be returned by a device. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-13Rename JTAG command version enumsMarc Schink-6/+6
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-11Add project website URLMarc Schink-1/+12
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-11configure.ac: Add 'check-news' Automake optionMarc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-11Add INSTALL to .gitignoreMarc Schink-0/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-11configure.ac: Use 'gnu' Automake strictnessMarc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-11Add ChangeLog fileMarc Schink-0/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-11Add AUTHORS fileMarc Schink-0/+2
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-08Add initial NEWS fileMarc Schink-0/+2
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-07Makefile.am: Remove README from EXTRA_DISTMarc Schink-1/+1
The README file is always automatically distributed. For more information, see: https://www.gnu.org/software/automake/manual/html_node/Basics-of-Distribution.html Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-07Makefile.am: Add HACKING to EXTRA_DISTMarc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05Doxygen: Add initial main pageMarc Schink-0/+30
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05Doxyfile: Add version.h to the input filesMarc Schink-1/+2
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05configure.ac: Add bug report email addressMarc Schink-1/+1
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05Add initial HACKING fileMarc Schink-0/+68
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05Doxyfile: Set PROJECT_NUMBER to current package versionMarc Schink-8/+8
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05Rearrange error codesMarc Schink-7/+7
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05configure.ac: Do not assign user variablesMarc Schink-8/+11
Do not assign user variables (e.g. CFLAGS) in configure.ac, otherwise users are not able to modify them properly at 'make' and 'configure' invocation time. For more information, see: https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html Thanks to Paul Fertser for spotting this. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-11-05Add support for library capabilitiesMarc Schink-0/+27
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-10-29Use JAYLINK_ERR_IOMarc Schink-4/+65
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
2016-10-29Remove (__)JAYLINK_TIF_MAXMarc Schink-7/+9
If necessary, a more general identifier which denotes the last element of an enum may be re-added later. Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>