Commit Graph

20 Commits

Author SHA1 Message Date
Michael Heimpold 1f571c011c Revert "libgpiod: update to 2.0"
This reverts commit 983835afe6.

I merged the library update to v2.0 to fast, it breaks openocd build
due to API change.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-10 22:01:33 +01:00
Michael Heimpold 1749d152a2 Revert "libgpiod: introduce libgpiodcxx package for C++ binding"
This reverts commit 82ea104b97.

I merged the library update to v2.0 to fast, it breaks openocd build
due to API change.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-10 21:59:33 +01:00
Michael Heimpold 82ea104b97 libgpiod: introduce libgpiodcxx package for C++ binding
This adds a new package for the C++ binding.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-09 07:57:07 +01:00
Michael Heimpold 983835afe6 libgpiod: update to 2.0
This updates this library to the latest major version.

Since the Python binding build changed in this version,
let's switch to the Py3Package infrastructure.

Also the older v1 kernel interface is not used anymore,
so we can drop this part of the kernel configuration.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-09 07:57:07 +01:00
Michael Heimpold 53bb5cc13e libgpiod: update to 1.6.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-02-18 22:18:07 +01:00
Florian Eckert 4dfb0024f4 libgpiod: add missing kernel build options via KCONFIG
This library needs the kernel config option 'CONFIG_GPIO_CDEV_V1=y' to
be set. If this is not set, the tool 'gpioinfo' produces the error message
'error creating line iterator'. Add the missing kernel config option to
build CDEV with API Version 1 fixes this.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-12-23 13:43:32 +01:00
Michael Heimpold 4db1fba5a1 libgpiod: update to 1.6.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-06-29 21:08:39 +02:00
Rosen Penev 338ce230d9
libgpiod: update to 1.4.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-03 13:53:21 -07:00
Jeffery To 1bc2f4f3c6 treewide: Remove Python variants for non-Python packages
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.

This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Michael Heimpold 2fdb8268d3 libgpiod: add package for the Python binding (fixes #11096)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-01-25 22:24:15 +01:00
Michael Heimpold 9c9b846da3 libgpiod: update to 1.4.1
While at, fix minor nitpick during installation of library symlinks.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-09-16 23:19:15 +02:00
Michael Heimpold ec2cbce031 libgpiod: update to 1.4
While at, update SPDX identifier.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-07-28 23:46:17 +02:00
Martin Schiller 6f62810e27 libgpiod: remove dependency to kernel version
Now that we only use kernel versions that support libgpiod,
we can remove the dependency on the kernel version.

This enables libgpiod to be used with linux 4.19.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-27 13:41:49 +02:00
Michael Heimpold d2049b6333 libgpiod: update to 1.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-04-15 21:43:56 +02:00
Michael Heimpold 41e0923d56 libgpiod: update to 1.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-11-15 23:22:16 +01:00
Michael Heimpold 010dc61d7b libgpiod: update to 1.1.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-08-17 23:18:57 +02:00
Michael Heimpold 265d5aa390 libgpiod: update to 1.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-05-21 14:45:35 +02:00
Michael Heimpold f8ec3965eb libgpiod: update to 1.0.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-18 21:35:04 +02:00
Michael Heimpold a071775300 libgpiod: depend on kernel version
Required kernel interface was introduced in kernel v4.8,
so add the kernel version as dependency for this library.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-03-30 21:23:29 +02:00
Michael Heimpold 59350addd0 libgpiod: add package for library and tools
libgpiod is a C library with corresponding tools for interacting
with the linux GPIO character device (gpiod stands for GPIO device).

Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
the character device instead. This library encapsulates the ioctl calls and
data structures behind a straightforward API.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-02-11 18:29:07 +01:00