Skip to main content

MAX_VIOLATIONS

Constant MAX_VIOLATIONS 

Source
pub const MAX_VIOLATIONS: usize = crate::config::MAX_VIOLATIONS; // 8usize
Expand description

Violation ring depth, per executor, and the slot count of the image-wide SWD record (ViolationRecord).

phase-474 I1 – NROS_EXECUTOR_MAX_VIOLATIONS (Zephyr: CONFIG_NROS_EXECUTOR_MAX_VIOLATIONS), default 8. The ring keeps the LATEST this-many verdicts, so the depth bounds how much recent history a reader sees and never whether a late violation is kept at all.