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
v2.5.0
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
28bff148f2
changelog: update with v2.5.0
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
acb5ce60f2
cmake: use <major>.<minor> for SOVERSION
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
ce83fdce9b
tests: update running hints in usage for raspberry pi 3
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
d777aba55b
tests/i2c: remove errno check in interactive test
...
transfer to non-existent device can result in either EREMOTEIO or EIO,
depending on I2C bus driver.
2025-11-02 02:55:20 -06:00
Vanya A. Sergeev
a57b00ade1
tests/i2c: add eeprom write/read to loopback test
2025-11-02 02:54:05 -06:00
Vanya A. Sergeev
ec42d2e3f4
tests/led: fix brightness check in open/close test
...
not all implementations will have brightness equal to max_brightness
after writing max_brightness.
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
766460f41a
tests/led: add trigger to open/close and interactive tests
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
91fb06681b
led: add support for configuring trigger
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
8c5eb85136
led: fix null termination of internal buffers
...
unlikely to be encountered, but handled correctly now.
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
03e9232d5f
pwm: fix null termination of internal buffers
...
unlikely to be encountered, but handled correctly now.
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
67c45f41b6
gpio: fix null termination of internal buffers in sysfs impl
...
unlikely to be encountered, but handled correctly now.
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
fe9e870960
tests/gpio: add debounce to open/close test
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
bebd393f71
gpio: add support for configuring debounce
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
5c12d31384
tests/gpio: add event clock to open/close and interactive tests
2025-11-02 00:01:25 -05:00
Vanya A. Sergeev
266587f685
gpio: add support for configuring event clock
2025-10-17 22:50:07 -05:00
Vanya A. Sergeev
af3d2f464f
tests/spi: add multiple transfer to loopback and interactive tests
2025-10-17 22:50:07 -05:00
Vanya A. Sergeev
5b714afbb8
spi: add spi_msg_t struct and spi_transfer_advanced() api
2025-10-06 02:35:00 -05:00
Vanya A. Sergeev
f60ce6b590
mmio: add read64()/write64() apis
2025-10-06 02:35:00 -05:00
Vanya A. Sergeev
fdffef6cb8
ci: upload build log files on error in buildroot workflow
2025-10-06 02:35:00 -05:00
Vanya A. Sergeev
911e989fe4
update version to v2.4.3
Buildroot / build (push) Has been cancelled
Build / build (/usr/bin/clang) (push) Has been cancelled
Build / build (/usr/bin/gcc) (push) Has been cancelled
v2.4.3
2025-02-28 16:12:39 -06:00
Vanya A. Sergeev
6c50222d8a
changelog: update with v2.4.3
2025-02-28 16:12:24 -06:00
Vanya A. Sergeev
005d365738
license: update copyright years
2025-02-28 05:11:37 -06:00
HopeCollector
b5e53e6b3a
readme: add building into project with cmake section
...
Modifications to original commit:
* Minor reword of instructions
Signed-off-by: Vanya A. Sergeev <v@sergeev.io >
2025-02-28 05:11:37 -06:00
HopeCollector
aca6815e68
cmake: add cmake package generation
...
resolves #52 .
Signed-off-by: Vanya A. Sergeev <v@sergeev.io >
2025-02-28 05:11:37 -06:00
Vanya A. Sergeev
4fe8f94ecc
cmake: update minimum cmake version required
...
for CheckSourceCompiles module.
resolves #54 .
2025-02-28 05:11:37 -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
1f8545b1f8
all: zero-initialize buf for strerror_r() in error formatters
...
some older implementations of strerror_r() may not populate buf.
see issue #53 .
2025-02-28 03:46:18 -06:00
Vanya A. Sergeev
094f1de850
ci: bump buildroot version in buildroot workflow
2025-02-27 04:39:02 -06:00
Vanya A. Sergeev
9b9e60fe2a
ci: update ubuntu and action versions
2025-02-27 04:39:00 -06:00
Ryan Barnett
ec31b393ab
ci: add buildroot workflow to test multiple toolchains
...
Buildroot provides a utility called 'test-pkg' which allows a package
to be built against the different toolchains they have put together
for their autobuilder. This allows c-periphery to be built with
toolchains that have old GCC version, kernel headers and other C
libraries besides GLIBC. See section 18.24.3 in the buildroot manual:
https://buildroot.org/downloads/manual/manual.html#_tips_and_tricks
This ensure CI runs toolchains which compile different options such as
32-bit SPI or GPIO sysfs only kernel headers.
Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com >
Signed-off-by: Vanya A. Sergeev <v@sergeev.io >
- Update github actions versions
- Remove package hash file to disable hash check
2023-07-12 01:30:51 -05:00
Vanya A. Sergeev
1e1df6e135
readme: update build status badge
2023-07-12 01:30:51 -05:00
Vanya A. Sergeev
31c852a579
ci: remove travis config
2023-07-12 01:30:51 -05:00
Vanya A. Sergeev
cdf6197281
ci: add github actions workflow
2023-07-12 01:30:51 -05:00
Vanya A. Sergeev
91f9678d2a
update version to v2.4.2
v2.4.2
2023-07-05 22:20:20 -05:00
Vanya A. Sergeev
dd7b9e5079
changelog: update to v2.4.2
2023-07-05 22:20:20 -05:00
Vanya A. Sergeev
1127bb3367
cmake: update test for gpio cdev v2 support
...
realtime edge event timestamps require a later version.
resolves #48 .
2023-07-05 22:20:20 -05: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
6c5302cf82
update version to v2.4.1
v2.4.1
2023-04-21 01:12:57 -05:00
Vanya A. Sergeev
124fc4180b
changelog: update to v2.4.1
2023-04-21 01:12:57 -05:00
Vanya A. Sergeev
415b0cf5e8
license: update copyright years
2023-04-21 01:12:57 -05:00
Vanya A. Sergeev
b9771f3f1e
gpio: enable realtime timestamps for line events in cdev v2 impl
2023-04-21 01:07:41 -05:00
Vanya A. Sergeev
e9799b893e
update version to v2.4.0
v2.4.0
2023-03-31 05:14:19 -05:00
Vanya A. Sergeev
d475a3c7e5
changelog: update to v2.4.0
2023-03-31 05:14:19 -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