firmware_techo/ble_store.rs
1//! BLE security snapshot journal: shared machinery from
2//! `umsh-journal-store`, plus this firmware's flash placement.
3//!
4//! The record engine, snapshot codec, and their power-cut tests live in
5//! the crate; only the page addresses — a `memory.x` fact — are decided
6//! here.
7
8pub use umsh_journal_store::ble::*;
9pub use umsh_journal_store::record::*;
10
11/// Flash pages owned by this journal, inside the NV storage region
12/// (0x000E_4000..0x000F_4000; see `memory.x`).
13pub const PAGE0: u32 = 0x000E_4000;
14pub const PAGE1: u32 = PAGE0 + PAGE_SIZE;