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
fe9e870960
tests/gpio: add debounce to open/close test
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
af3d2f464f
tests/spi: add multiple transfer to loopback and interactive tests
2025-10-17 22:50:07 -05:00
Vanya A. Sergeev
09862fec26
tests/spi: remove extra flags assertions
...
in newer kernels the spidev driver appends SPI_CS_HIGH to the mode when
the SPI controller is configured to use GPIOs for chip selects, which
breaks the assertion that extra flags is zero in this SPI test.
2020-12-16 01:11:04 -06:00
Vanya A. Sergeev
061cd9ed75
tests/mmio: remove unused arguments
2020-12-16 01:11:04 -06:00
Vanya A. Sergeev
7e7b91ac90
gpio: add advanced open functions for cdev implementation
...
resolves #22 .
2020-05-28 20:35:06 -05:00
Vanya A. Sergeev
ecbd5aa85a
gpio: add getters and setters for bias, drive, inverted
...
resolves #23 .
2020-05-28 20:35:06 -05:00
Vanya A. Sergeev
3719a82eb9
gpio: add getter for line consumer label
2020-05-28 20:35:06 -05:00
Vanya A. Sergeev
0ca76260f8
tests/serial: add vmin and vtime test cases to loopback test
2020-05-28 00:04:13 -05:00
Vanya A. Sergeev
4a62aebe36
gpio: add gpio_poll_multiple() api
...
see vsergeev/python-periphery#21 .
2020-05-28 00:04:13 -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
c230b2087c
tests/gpio_sysfs: fix non-existent gpio line number
2020-01-07 00:34:48 -06:00
Vanya A. Sergeev
14b926ad51
tests/i2c: add tostring check to interactive test
2019-10-08 22:38:03 -05:00
Vanya A. Sergeev
789ed99c31
tests/serial: add tostring check to interactive test
2019-10-08 22:38:03 -05:00
Vanya A. Sergeev
54625d6c72
tests/spi: add tostring check to interactive test
2019-10-08 22:38:03 -05:00
Vanya A. Sergeev
503c7e4e90
gpio: remove support for preserve direction
2019-09-30 22:19:44 -05:00
Vanya A. Sergeev
b2e61b5b2d
tests/gpio: add cdev gpio test
2019-09-30 22:19:44 -05:00
Vanya A. Sergeev
480fcdf36c
tests/gpio: rename sysfs test_gpio to test_gpio_sysfs
2019-09-30 22:18:42 -05:00
Vanya A. Sergeev
7bbc84ce45
gpio: migrate to cdev focused api and add sysfs compatible implementation
2019-09-30 22:18:42 -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
865bf2896a
serial: add serial_new()/serial_free() for handle memory management
2019-09-29 17:53:38 -05:00
Vanya A. Sergeev
ea34b996eb
mmio: add mmio_new()/mmio_free() for handle memory management
2019-09-29 17:53:38 -05:00
Vanya A. Sergeev
5558e09b85
i2c: add i2c_new()/i2c_free() for handle memory management
2019-09-29 17:53:38 -05:00
Vanya A. Sergeev
c13c17dd2c
spi: add spi_new()/spi_free() for handle memory management
2019-09-28 23:01:39 -05:00
Vanya A. Sergeev
e412d5cc3f
gpio: add gpio_new()/gpio_free() for handle memory management
2019-09-28 23:01:39 -05:00
Vanya A. Sergeev
06d52157ab
tests/spi: update running hints in usage for raspberry pi 3
2019-08-18 18:05:59 -05:00
Vanya A. Sergeev
ab196c2bb8
tests/serial: update running hints in usage for raspberry pi 3
2019-08-18 18:05:59 -05:00
Vanya A. Sergeev
c635c0ab94
tests/gpio: update running hints in usage for raspberry pi 3
2019-08-18 17:45:00 -05:00
Vanya A. Sergeev
305762696a
tests/i2c: update running hints in usage for raspberry pi 3
2019-08-18 17:44:46 -05:00
Vanya A. Sergeev
2ea7cba0ea
tests/i2c: remove beaglebone black specific loopback test
2019-08-18 17:44:44 -05:00
Vanya A. Sergeev
6fc8df4824
gpio: add support for preserving direction to gpio_open()
2016-09-27 04:51:15 -07:00
Vanya Sergeev
c00f309bc1
qualify data bits, stop bits, and waiting counts with unsigned in serial
2015-05-25 01:49:02 -07:00
Vanya Sergeev
a028f9290f
remove version from comment header at top of source files
2015-02-01 02:52:29 -08:00
Vanya Sergeev
f69a317565
initial commit
2014-05-14 09:52:41 -07:00