GONEC_ARTERY_StorageOnFlash/Src/StorageOnFlash.c

13 lines
319 B
C

//
// Created by xemon on 19.12.22.
//
#include "StorageOnFlash.h"
tStorageOnFlash NVM_STORAGE;
void StorageOnFlash_Init() {
tStorageOnFlash *env = &NVM_STORAGE;
vStorageOnFlashArtery_Init(&env->nf_storage, 0x083C0000, 0x083D0000);
env->interface = xStorageOnFlashArtery_GetInterface(&env->nf_storage);
}