// // Created by CFIF on 05.04.24. // #include "StorageOnFlash.h" tStorageOnFlash NVM_STORAGE; void StorageOnFlash_Init() { tStorageOnFlash *env = &NVM_STORAGE; vStorageOnFlashFlagchip_Init(&env->nf_storage_calib, nf_storage_calib_mainFlashPageAddress,nf_storage_calib_recoveryFlashPageAddress); env->interface_calib = xStorageOnFlashFlagchip_GetInterface(&env->nf_storage_calib); vStorageOnFlashFlagchip_Init(&env->nf_storage_param, nf_storage_param_mainFlashPageAddress,nf_storage_param_recoveryFlashPageAddress); env->interface_param = xStorageOnFlashFlagchip_GetInterface(&env->nf_storage_param); }