blackmagic-sys

Crates.ioblackmagic-sys
lib.rsblackmagic-sys
version0.1.0
sourcesrc
created_at2023-09-17 16:44:36.915966
updated_at2023-09-17 16:44:36.915966
descriptionBindings to Blackmagic-debug host functions
homepage
repository
max_upload_size
id975227
size9,332,683
Mattia (mfiumara)

documentation

README

blackmagic-remote

This crate provides Rust bindings for the blackmagic remote protocol. It is mainly built for integration into probe-rs.

Compiling blackmagic

The make process is not yet integrated into the build.rs script. For now, first compile blackmagic separately before testing the bindings using the following make command

cd blackmagic
ENABLE_RTT=1 PROBE_HOST=hosted HOSTED_BMP_ONLY=1 PC_HOSTED=1 ENABLE_DEBUG=1 make -j 8

This builds the BMP app.

Testing

Some HIL tests have been written to test if everything works with a target connected and debug probe connected. To test on a different system, change the serial number and target voltage in the tests in lib.rs.

Commit count: 0

cargo fmt