Vanya A. Sergeev
76c4edd4b5
update version to v2.5.0
Build / build (/usr/bin/clang) (push) Has been cancelled
Build / build (/usr/bin/gcc) (push) Has been cancelled
Buildroot / build (push) Has been cancelled
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
3a14dc9b30
make: add shared library target
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
4a36df0cb4
make: suppress a.out in gpio cdev v2 support test
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
d7d426ea69
make: use system printf for gpio cdev support tests
...
some shells (e.g. dash) don't support the `-e` switch with their
built-in echo for interpreting escape sequences. also, the `-e` switch
is technically not POSIX compliant. so use system (e.g. coreutils,
busybox) printf instead.
resolves #56 .
2025-02-28 05:11:37 -06:00
javalikescript
024a25d18e
make: improve portability
...
Modifications to initial commit:
* Collapse conditional NULL device assignment into single line
resolves #55 .
Signed-off-by: Vanya A. Sergeev <v@sergeev.io >
2025-02-28 03:47:13 -06:00
Vanya A. Sergeev
0c29e4c0d5
make: update test for gpio cdev v2 support
...
realtime edge event timestamps require a later version.
2023-07-05 22:20:20 -05:00
Vanya A. Sergeev
d5a9007ae5
gpio: add cdev v2 impl
2023-03-31 05:14:19 -05:00
Vanya A. Sergeev
1ff5b71d9b
gpio: rename cdev impl to cdev_v1
2023-03-31 05:14:19 -05:00
Vanya A. Sergeev
140da1dc68
gpio: split cdev and sysfs impls into separate files
2023-03-31 05:14:19 -05:00
Vanya A. Sergeev
10ec658b51
make: enable unused parameter warning
2020-12-16 00:59:35 -06:00
Vanya A. Sergeev
415f5b45d5
make: disable stringop truncation warning
2020-11-19 23:27:05 -06:00
Vanya A. Sergeev
adba7a9a55
make: add default optimization to CFLAGS
2020-11-19 23:27:05 -06:00
Vanya A. Sergeev
3279138ebe
make: add test for cdev gpio support in kernel headers
2020-07-28 00:21:12 -05:00
Vanya A. Sergeev
05262e6dc8
gpio: add conditional compilation of cdev implementation
...
with special thanks to Ryan Barnett <ryan.barnett@rockwellcollins.com >
for the original implementation.
2020-07-24 01:24:18 -05:00
Vanya A. Sergeev
37174127a3
pwm: add pwm module
2020-01-07 23:44:14 -06:00
Vanya A. Sergeev
6d3f48e573
led: add led module
2020-01-07 23:44:14 -06:00
Vanya A. Sergeev
63d1cd9470
make: fix cross compilation support
...
to allow overriding the CC variable.
2019-10-07 20:57:40 -05:00
Vanya A. Sergeev
3265647828
make: remove pointer to integer cast warning disable
2019-09-30 22:19:44 -05:00
jhlim
742d983e76
make: improve cross compilation support
...
resolves #14 .
Signed-off-by: Vanya A. Sergeev <v@sergeev.io >
2019-09-30 22:19:44 -05:00
Vanya A. Sergeev
2409e0c2ce
tests/gpio: add threaded poll helper functions to fix write/poll race
2019-09-30 22:18:42 -05:00
Vanya A. Sergeev
4bbde0079b
add library version macros and functions
2017-04-25 06:29:47 -07:00
Vanya Sergeev
452ddb1388
specify gnu99 standard in CFLAGS in Makefile
2015-05-25 03:10:25 -07:00
Vanya Sergeev
43377ee4fd
add missing phonies and clean up Makefile
2014-12-25 23:54:16 -08:00
Vanya Sergeev
5a795daf56
allow CC env var in Makefile
2014-05-15 00:47:44 -07:00
Vanya Sergeev
f69a317565
initial commit
2014-05-14 09:52:41 -07:00