2015-05-16 15:49:20 +02:00
|
|
|
config BR2_PACKAGE_C_PERIPHERY
|
|
|
|
bool "c-periphery"
|
2020-01-08 23:40:34 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|
2015-05-16 15:49:20 +02:00
|
|
|
help
|
|
|
|
c-periphery is a set of C wrapper functions for GPIO, SPI,
|
|
|
|
I2C, MMIO, and Serial peripheral I/O interface access in
|
|
|
|
userspace Linux. The c-periphery wrappers simplify and
|
|
|
|
consolidate the native Linux APIs to these
|
|
|
|
interfaces. c-periphery is useful in embedded Linux
|
|
|
|
environments (including BeagleBone, Raspberry Pi,
|
|
|
|
etc. platforms) for interfacing with external
|
|
|
|
peripherals. c-periphery is re-entrant, uses static
|
|
|
|
allocations, has no dependencies outside the standard C
|
|
|
|
library and Linux, compiles into a static library for easy
|
|
|
|
integration with other projects, and is MIT licensed.
|
|
|
|
|
|
|
|
https://github.com/vsergeev/c-periphery
|
2020-01-08 23:40:34 +01:00
|
|
|
|
|
|
|
comment "c-periphery needs a toolchain w/ kernel headers >= 4.8"
|
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
|