From 277f94da3f0bd4a7820fdebed9198ecb00b1d9fd Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Wed, 26 Jun 2024 18:30:17 +1000 Subject: [PATCH] AP_Bootloader: add flash corrupt method but commented out --- Tools/AP_Bootloader/support.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/AP_Bootloader/support.cpp b/Tools/AP_Bootloader/support.cpp index 3bbd74ccb6b1e8..7ab8bc7efce7b4 100644 --- a/Tools/AP_Bootloader/support.cpp +++ b/Tools/AP_Bootloader/support.cpp @@ -541,6 +541,7 @@ void port_setbaud(uint32_t baudrate) void check_ecc_errors(void) { __disable_fault_irq(); + // stm32_flash_corrupt(0x8012300); auto *dma = dmaStreamAlloc(STM32_DMA_STREAM_ID(1, 1), 0, nullptr, nullptr); uint32_t buf[32]; uint32_t ofs = 0;