CPC GPIO Bridge#
The CPC GPIO Bridge is a component part of the CPC GPIO Expander and acts as a router for the CPC GPIO Driver and CPC GPIO Secondary.
Table of Contents#
Installation
Dependencies
Building
Usage
Command Line Options
Installation#
Dependencies#
Building#
Now the Bridge can be built using cargo build and installed with cargo install:
make
make install
Usage#
cargo run -- [OPTIONS] or if installed: cpc-gpio-bridge [OPTIONS]
Command Line Options#
-t,--trace <TRACE>— Enable tracing [default: none]none: No tracingbridge: Bridge tracinglibcpc: Libcpc tracingall: Bridge and libcpc tracing
-i,--instance <INSTANCE>— Name of the cpcd instance [default: cpcd_0]-l,--lock-dir <LOCK_DIR>— Bridge lock directory [default: /tmp]-d,--deinit— Deinit gpio chip and exit process-h,--help— Print help-V,--version— Print version