115 Commits
Author SHA1 Message Date
Vanya A. Sergeev d42d85555f update version to v2.1.0 v2.1.0 2020-01-07 23:44:14 -06:00
Vanya A. Sergeev 6ae4ef6e62 changelog: update to v2.1.0 2020-01-07 23:44:14 -06:00
Vanya A. Sergeev 72a2be6e69 readme: update sample build outputs 2020-01-07 23:44:14 -06: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 85c163f353 docs/spi: reword description for getters 2020-01-07 00:34:48 -06:00
Vanya A. Sergeev ca2cd97f4b docs/serial: reword description for getters 2020-01-07 00:34:48 -06:00
Vanya A. Sergeev 7185281ee7 docs/gpio: reword description for getters 2020-01-07 00:34:48 -06:00
Vanya A. Sergeev f08e0402ef gpio: improve formatting in sysfs implementation 2020-01-07 00:34:48 -06:00
Vanya A. Sergeev 2bc8321b99 gpio: simplify set direction and edge in sysfs implementation 2020-01-07 00:34:48 -06:00
Vanya A. Sergeev 396e2fdf64 gpio: replace null with newline term in writes for sysfs implementation 2020-01-07 00:34:48 -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 cc19afa0c9 gpio: use unsigned specifier in format strings 2020-01-04 02:28:59 -06:00
Vanya A. Sergeev 8734b5888b spi: use unsigned specifier in format strings 2020-01-04 02:28:47 -06:00
Vanya A. Sergeev a0860c8111 update version to v2.0.1 v2.0.1 2019-10-08 22:49:16 -05:00
Vanya A. Sergeev a66d60e8d1 changelog: update to v2.0.1 2019-10-08 22:49:16 -05:00
Vanya A. Sergeev 9b7625092b readme: update version in sample build output 2019-10-08 22:49:16 -05:00
Vanya A. Sergeev 9f637f004e license: update copyright years 2019-10-08 22:49:16 -05:00
Vanya A. Sergeev 8752405bcf spi: improve formatting of spi_tostring() 2019-10-08 22:49:16 -05: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 2b5f6e1935 serial: return error on unexpected empty read
fixes vsergeev/lua-periphery#20.
2019-10-08 22:30:25 -05:00
Vanya A. Sergeev 04329dd5f1 serial: fix performance of blocking read
serial_read() was performing continuous non-blocking reads when called
with a negative timeout for a blocking read.
2019-10-08 22:25:34 -05:00
Vanya A. Sergeev a9a2aa8f07 docs/gpio: fix old sysfs reference in description of gpio_close() 2019-10-07 20:57:44 -05:00
Vanya A. Sergeev 5e967df0c6 serial: initialize handle in serial_new() 2019-10-07 20:57:44 -05:00
Vanya A. Sergeev 944b293a18 mmio: initialize handle in mmio_new() 2019-10-07 20:57:44 -05:00
Vanya A. Sergeev f7ba212570 i2c: initialize handle in i2c_new() 2019-10-07 20:57:44 -05:00
Vanya A. Sergeev ecdf5bddef spi: initialize handle in spi_new() 2019-10-07 20:57:44 -05:00
Vanya A. Sergeev 9c90f83a82 gpio: initialize handle in gpio_new() 2019-10-07 20:57:44 -05: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 e5dc32a991 readme: update sample console output from build commands 2019-10-02 19:06:39 -05:00
Vanya A. Sergeev 75daa7d93d update version to v2.0.0 v2.0.0 2019-09-30 22:22:50 -05:00
Vanya A. Sergeev ddfc1cd737 changelog: update to v2.0.0 2019-09-30 22:22:50 -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 085752df06 spi: fix pointer to integer cast warning on 32-bit platforms
fixes issue #17.
2019-09-30 22:19:44 -05:00
Vanya A. Sergeev 5919747228 readme: update gpio example with cdev api 2019-09-30 22:19:44 -05:00
Vanya A. Sergeev 1831bfdfb2 docs/gpio: update with new cdev focused api 2019-09-30 22:19:44 -05:00
Vanya A. Sergeev 794375976d travis-ci: update dist to bionic 2019-09-30 22:19:44 -05:00
Vanya A. Sergeev 79c3930cd5 gpio: unexport sysfs gpio on close 2019-09-30 22:19:44 -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 d0a973cca2 gpio: add cdev implementation
resolves #11.
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
longsky d880ef7d1e gpio: remove dummy read from gpio_poll()
resolves #15.

Signed-off-by: Vanya A. Sergeev <v@sergeev.io>
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 619e0ff85b docs/gpio: fix include path in synopsis 2019-09-30 22:18:42 -05:00
Vanya A. Sergeev 9c59ca3b7a docs/gpio: remove references to non-existent gpio_open_advanced() 2019-09-30 22:18:42 -05:00