From 78e31d9c93dcfbaaaa3fadf96b63e594a605b094 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 25 Aug 2023 23:46:33 -0700 Subject: [PATCH] stub flash --- .../bootloader/openblt_chibios/openblt_chibios.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/bootloader/openblt_chibios/openblt_chibios.cpp b/firmware/bootloader/openblt_chibios/openblt_chibios.cpp index b9a39a58c3..87eb238515 100644 --- a/firmware/bootloader/openblt_chibios/openblt_chibios.cpp +++ b/firmware/bootloader/openblt_chibios/openblt_chibios.cpp @@ -2,6 +2,7 @@ extern "C" { #include "boot.h" + #include "flash.h" } void CpuInit() { } @@ -10,17 +11,16 @@ void CopInit() { } void TimerInit() { } void TimerReset() { } -void NvmInit() { } - void CopService() { } void TimerUpdate() { } -blt_addr NvmGetUserProgBaseAddress() { - return 0x08008000; +void FlashInit() { } +blt_bool FlashVerifyChecksum() { + return BLT_TRUE; } -blt_bool NvmVerifyChecksum() { - return BLT_TRUE; +blt_addr FlashGetUserProgBaseAddress() { + return 0x08008000; } /** \brief Pointer to the user program's reset vector. */