Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.43 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.43 KB

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

Now the Bridge can be built using cargo build and installed with cargo install:

cargo build --release
cargo install

Usage

cargo run -- [OPTIONS] or if installed: cpc-gpio-bridge [OPTIONS]

Command Line Options

  • -t, --trace <TRACE> — Enable tracing [default: none]
    • none: No tracing
    • bridge: Bridge tracing
    • libcpc: Libcpc tracing
    • all: 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