Skip to content

Installation

bad-antics edited this page Jan 26, 2026 · 1 revision

Installation

Requirements

  • Linux, macOS, or Windows
  • OBD-II adapter (ELM327, J2534, or SocketCAN)
  • USB or Bluetooth connectivity

From Source

git clone https://github.com/bad-antics/blackflag-ecu.git
cd blackflag-ecu
cargo build --release

Hardware Setup

ELM327

# USB
blackflag-ecu --adapter elm327 --port /dev/ttyUSB0

# Bluetooth
blackflag-ecu --adapter elm327 --port /dev/rfcomm0

SocketCAN

sudo ip link set can0 up type can bitrate 500000
blackflag-ecu --adapter socketcan --interface can0

Clone this wiki locally