From 469f7f71d9fd38fcbbb1f3e7d382e407574dd08b Mon Sep 17 00:00:00 2001 From: Sadik Ozer <46590392+ozersa@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:14:38 +0300 Subject: [PATCH] feat(PeriphDrivers): Allow info block unlock function be overwritten for MAX32657 (#1213) Signed-off-by: Sadik Ozer --- Libraries/PeriphDrivers/Source/FLC/flc_me30.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/PeriphDrivers/Source/FLC/flc_me30.c b/Libraries/PeriphDrivers/Source/FLC/flc_me30.c index bcd94c65de..eaacb6b8ee 100644 --- a/Libraries/PeriphDrivers/Source/FLC/flc_me30.c +++ b/Libraries/PeriphDrivers/Source/FLC/flc_me30.c @@ -183,9 +183,9 @@ int MXC_FLC_MassErase(void) } //****************************************************************************** -int MXC_FLC_UnlockInfoBlock(uint32_t address) +__weak int MXC_FLC_UnlockInfoBlock(uint32_t address) { - return MXC_FLC_RevA_UnlockInfoBlock((mxc_flc_reva_regs_t *)MXC_FLC, address); + return E_NOT_SUPPORTED; } //******************************************************************************