Module nano33ble::test::linear_log_test

source ·
Expand description

Tests the log storage interface in linear mode. For testing in circular mode, see log_test.rs.

The testing framework creates a non-circular log storage interface in flash and performs a series of writes and syncs to ensure that the non-circular log properly denies overly-large writes once it is full. For testing all of the general capabilities of the log storage interface, see log_test.rs.

To run the test, uncomment the following line to the nano33ble boot sequence:

test::linear_log_test::run(
    mux_alarm,
    &nrf52840_peripherals.nrf52.nvmc,
);

and use the USER and RESET buttons to manually erase the log and reboot the imix, respectively.

Structs§

Enums§

Constants§

Statics§

Functions§

Type Aliases§