lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

A quick try says yes. First lua_Unsigned is used, as well as luaL_len. I'm sure with a bit more time though, a 5.1 & 5.2 compatible version could be made.

On 05/26/14 14:50, wrote:
Looks very interesting. Are there are issue getting it to run on 5.1.5?

On May 26, 2014, at 12:21 PM, Ivan Sergeev < <>> wrote:

Linux Peripheral I/O (GPIO, SPI, I2C, MMIO, Serial) with Lua

lua-periphery is a library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux. It is useful in embedded Linux environments (including BeagleBone, Raspberry Pi, etc. platforms) for interfacing with external peripherals. lua-periphery requires Lua 5.2 or greater, has no dependencies outside the standard C library and Linux, is portable across architectures, and is MIT licensed.

(and on luarocks)

linux-x86_64 binary rock:

linux-x86 binary rock:

linux-arm binary rock:

Vanya Sergeev