probe_rs_target/
lib.rs

1//! Target description schema
2//!
3//! For debugging and flashing different chips, called *target* in probe-rs, some
4//! target specific configuration is required. This includes the architecture of
5//! the chip, e.g. RISC-V or ARM, and information about the memory map of the target,
6//! which can be used together with a flash algorithm to program the flash memory
7//! of a target.
8//!
9//! This crate contains the schema structs for the YAML target description files.
10//!
11#![warn(missing_docs)]
12
13mod chip;
14pub mod chip_detection;
15mod chip_family;
16mod flash_algorithm;
17mod flash_properties;
18mod memory;
19pub(crate) mod serialize;
20
21pub use chip::{
22    ApAddress, ArmCoreAccessOptions, Chip, Core, CoreAccessOptions, Jtag, RiscvCoreAccessOptions,
23    RiscvJtagTunnel, ScanChainElement, XtensaCoreAccessOptions,
24};
25pub use chip_family::{
26    Architecture, ChipFamily, CoreType, Endian, InstructionSet, TargetDescriptionSource,
27};
28pub use flash_algorithm::{RawFlashAlgorithm, TransferEncoding};
29pub use flash_properties::FlashProperties;
30pub use memory::{
31    GenericRegion, MemoryAccess, MemoryRange, MemoryRegion, NvmRegion, PageInfo, RamRegion,
32    RegionMergeIterator, SectorDescription, SectorInfo,
33};