Crates.io | blackmagic-sys |
lib.rs | blackmagic-sys |
version | 0.1.0 |
source | src |
created_at | 2023-09-17 16:44:36.915966 |
updated_at | 2023-09-17 16:44:36.915966 |
description | Bindings to Blackmagic-debug host functions |
homepage | |
repository | |
max_upload_size | |
id | 975227 |
size | 9,332,683 |
This crate provides Rust bindings for the blackmagic remote protocol. It is mainly built for integration into probe-rs.
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.
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
.