utils
utils copied to clipboard
A collection of scripts and simple applications
Is it possible to add option to only show 0 or 1 for the status? I work very often with bash scripts and GPIOs. In this scripts i need the...
"level" mode is a variation on "get" mode that produces compact output, normally a 0 or 1 for each GPIO. If given a range of GPIOs, the results are concatenated...
I guess these are... weird... because either: 1. The datasheet done it, who are we to argue with peripheral signal nomenclature? 2. pinctl is now a critical part of some...
This PR includes a number of minor updates (mostly type-casting) to address compiler warnings.
Is there a way to make an I2C connection using `pinctrl` on a 'bookworm' RPi 5?
- Fixes #87 ./vclog/vclog.c:211:34: error: argument 2 value '4294967288' exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=] 211 | payload_buffer = realloc(payload_buffer, payload_buffer_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./vclog/vclog.c:17: ../../toolchain/armv7ve-libreelec-linux-gnueabihf/sysroot/usr/include/stdlib.h:683:14: note:...
build error ``` ./vclog/vclog.c:211:34: error: argument 2 value '4294967288' exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=] 211 | payload_buffer = realloc(payload_buffer, payload_buffer_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./vclog/vclog.c:17: ../../toolchain/armv7ve-libreelec-linux-gnueabihf/sysroot/usr/include/stdlib.h:683:14: note:...