12#include <zephyr/types.h>
int fprotect_area(uint32_t start, size_t length)
Protect flash area against writes.
int fprotect_area_no_access(uint32_t start, size_t length)
Protect flash area against reads/writes.
uint32_t fprotect_is_protected(uint32_t addr)
Check whether a block has already been protected.