Master per emulazione logica di periferiche (GPIO, CAN, ADC, PWM) con API su Unix Domain Socket e GUI in Rust (ratatui).
Config default in sge09.toml (vedi docs/CONFIG.md).
cmake -S . -B .build_debug
cmake --build .build_debug
Avvio server:
./.build_debug/vdm_server /tmp/vdm.sock sge09.toml
Richiede cargo e accesso a Internet per scaricare le crate.
cargo build --manifest-path rust_tui/Cargo.toml
./rust_tui/target/debug/vdm_tui /tmp/vdm.sock
ctest --test-dir .build
cmake --workflow --preset build-all
cmake --workflow --preset build-all-release
cmake --workflow --preset test-all
cmake --workflow --preset coverage
Coverage richiede gcovr disponibile nel PATH.
build-all copia compile_commands.json nella root per aiutare LSP/clangd.
./scripts/run_all.sh /tmp/vdm.sock
python3 scripts/random_writer.py /tmp/vdm.sock writer1
python3 scripts/random_reader.py /tmp/vdm.sock reader1
Vedi docs/PROTOCOL.md e docs/EXAMPLE.md.
./scripts/gen_board_sdk.sh
Vedi docs/BOARD_SDK.md.
cmake --workflow --preset build-all rigenera automaticamente generated/<board>/....