summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Krzysztof Opasiak [Mon, 16 Dec 2013 08:14:03 +0000 (09:14 +0100)]
libusbgx: Fix gadget-acm-ecm example to cleanup at exit.
Make use of previously unused variable ret to cleanup
after successful gadget creation.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Wed, 11 Dec 2013 09:35:35 +0000 (10:35 +0100)]
libusbgx: Add missing return statement in non-void functions.
Add return 0 in functions which return non-void to
suppress compiler complaint.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Wed, 11 Dec 2013 13:56:07 +0000 (14:56 +0100)]
libusbgx: Surround header with include guards.
Surround header with include guards to protect against
multiple inclusion.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Stanislaw Wadas [Wed, 6 Nov 2013 10:29:52 +0000 (11:29 +0100)]
libusbgx: Add inline to gadget_write_string().
Add inline to gadget_write_string().
Signed-off-by: Stanislaw Wadas <s.wadas@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Stanislaw Wadas [Wed, 6 Nov 2013 10:25:03 +0000 (11:25 +0100)]
libusbgx: Move mkdir functions
Call mkdir() function after successful memory allocation
and gadget function creation.
Signed-off-by: Stanislaw Wadas <s.wadas@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Stanislaw Wadas [Mon, 4 Nov 2013 12:22:15 +0000 (14:22 +0200)]
libusbgx: Add fputs()/fgets()/fprintf() error
handling
Add error handling to fputs()/fgets()/fprintf() functions.
Signed-off-by: Stanislaw Wadas <s.wadas@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Stanislaw Wadas [Mon, 4 Nov 2013 12:02:53 +0000 (14:02 +0200)]
libusbgx: Replace array lengths with defines
Replace hard coded value of 256 by two constant
defines, USBG_MAX_STR_LENGTH and USBG_MAX_PATH_LENGTH
Define USBG_MAX_NAME_LENGTH for name[] array
Signed-off-by: Stanislaw Wadas <s.wadas@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 22 Dec 2015 18:43:44 +0000 (19:43 +0100)]
Fork from libusbg project
As libusbg project looks for a dead for over a year it
has been forked and now it is developed as:
libusbg-neXt (libusbgx)
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Matt Porter [Mon, 20 Jan 2014 05:51:41 +0000 (00:51 -0500)]
libusbg: tag v0.1.0 release
Update changelog and tag the v0.1.0 release.
Signed-off-by: Matt Porter <mporter@linaro.org>
Matt Porter [Sun, 5 Jan 2014 18:11:42 +0000 (13:11 -0500)]
libusbg: use /sys/kernel/config mount point in examples
Update documentation and example source code to reflect use of the
standard /sys/kernel/config mount point for configfs.
Signed-off-by: Matt Porter <mporter@linaro.org>
Matt Porter [Sat, 4 Jan 2014 21:10:57 +0000 (16:10 -0500)]
libusbg: update preferred email address
Update email address for myself throughout the code.
Signed-off-by: Matt Porter <mporter@linaro.org>
Matt Porter [Sat, 4 Jan 2014 20:23:14 +0000 (15:23 -0500)]
libusbg: rename gadget_*() -> usbg_*(), libusbg, and usbg.h
Rename library to libusbg. Moves the API include to usbg.h and
accordingly changes all API prefixes to usbg_*().
Signed-off-by: Matt Porter <mporter@linaro.org>
Koen Kooi [Thu, 5 Sep 2013 12:20:10 +0000 (14:20 +0200)]
configure: add AM_PROG_AR
This fixes:
| automake: warnings are treated as errors
| /build/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgadget.la': linking libtool libraries using a non-POSIX
| /build/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
| src/Makefile.am:1: while processing Libtool library 'libgadget.la'
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Matt Porter [Wed, 28 Aug 2013 14:52:49 +0000 (10:52 -0400)]
Initial release
Signed-off-by: Matt Porter <matt.porter@linaro.org>