1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Target specific configuration
//!
//! For debugging and flashing different chips, called *target* in probe-rs, some
//! target specific configuration is required. This includes the architecture of
//! the chip, e.g. RISC-V or ARM, and information about the memory map of the target,
//! which can be used together with a flash algorithm to program the flash memory
//! of a target.
//!
//!
//! ## Built-in targets
//!
//! The built-in targets are added at build-time, from the `build.rs` script.
//! They are generated from the target files in the `targets/` subfolder of this
//! crate.
//!
//! The built-in targets can be disabled by not including the `builtin-targets` feature.
//!
//! ## Adding targets at runtime
//!
//! Targets are collected in a [`Registry`] in families. A registry with the built-in
//! targets can be created via the [`Registry::from_builtin_families`] function.
//! To add a target at runtime, use [Registry::add_target_family]. The target family
//! is a [`ChipFamily`] struct, usually read from a target description YAML file.
pub
pub use ;
pub use ;
pub use ;
// Crate-internal API
pub use ChipInfo;
pub use CoreExt;