From a6c2e2c7015a590543e86a0bf7ad2d45144fbea0 Mon Sep 17 00:00:00 2001 From: Mattia Pennasilico Date: Wed, 6 Jul 2022 11:08:55 +0200 Subject: [PATCH] Add message explaining how to fix the error occurred creating MCUboot files --- .../STM32H747_manageBootloader/STM32H747_manageBootloader.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino b/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino index c1a83617c..0bcb38ba4 100644 --- a/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino +++ b/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino @@ -222,7 +222,8 @@ void setupMCUBootOTAData() { int err = ota_data_fs.reformat(&ota_data); if (err) { - Serial.println("Error creating MCUboot files in OTA partition"); + Serial.println("Error creating MCUboot files in OTA partition."); + Serial.println("Run QSPIformat.ino sketch to format the QSPI flash and fix the issue."); } FILE* fp = fopen("/fs/scratch.bin", "wb");