linux: userspace GPIO control

Allow use host GPIO pins for non-realtime purposes.

Signed-off-by: Andrey Kunitsyn <blackicebox@gmail.com>
This commit is contained in:
andryblack
2020-04-24 00:16:31 +03:00
committed by KevinOConnor
parent f0c394de81
commit 8fd330c54e
10 changed files with 187 additions and 22 deletions

View File

@@ -11,6 +11,7 @@
// console.c
void report_errno(char *where, int rc);
int set_non_blocking(int fd);
int set_close_on_exec(int fd);
int console_setup(char *name);
void console_sleep(struct timespec ts);