diff --git a/openrtx/include/interfaces/nvmem.h b/openrtx/include/interfaces/nvmem.h index b6bb6b91..bfcaf5d7 100644 --- a/openrtx/include/interfaces/nvmem.h +++ b/openrtx/include/interfaces/nvmem.h @@ -158,6 +158,14 @@ void nvm_init(); */ void nvm_terminate(); +/** + * Get a list of the available nonvolatile memory areas of the device. + * + * @param list: pointer where to store the pointer to the list head. + * @return number of elements in the list. + */ +size_t nvm_getMemoryAreas(const struct nvmArea **list); + /** * Load calibration data from nonvolatile memory. *