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.
Now the Bridge can be built using cargo build and installed with cargo install:
cargo build --release
cargo install
cargo run -- [OPTIONS]
or if installed: cpc-gpio-bridge [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