mirror of https://github.com/FOME-Tech/fome-fw.git
stub flash
This commit is contained in:
parent
dd9fa926da
commit
78e31d9c93
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "boot.h"
|
#include "boot.h"
|
||||||
|
#include "flash.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
void CpuInit() { }
|
void CpuInit() { }
|
||||||
|
@ -10,17 +11,16 @@ void CopInit() { }
|
||||||
void TimerInit() { }
|
void TimerInit() { }
|
||||||
void TimerReset() { }
|
void TimerReset() { }
|
||||||
|
|
||||||
void NvmInit() { }
|
|
||||||
|
|
||||||
void CopService() { }
|
void CopService() { }
|
||||||
void TimerUpdate() { }
|
void TimerUpdate() { }
|
||||||
|
|
||||||
blt_addr NvmGetUserProgBaseAddress() {
|
void FlashInit() { }
|
||||||
return 0x08008000;
|
blt_bool FlashVerifyChecksum() {
|
||||||
|
return BLT_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
blt_bool NvmVerifyChecksum() {
|
blt_addr FlashGetUserProgBaseAddress() {
|
||||||
return BLT_TRUE;
|
return 0x08008000;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Pointer to the user program's reset vector. */
|
/** \brief Pointer to the user program's reset vector. */
|
||||||
|
|
Loading…
Reference in New Issue