Skip to content

Commit ed1aec2

Browse files
committed
Nudge user to update the BL through the M7
1 parent d8e35c3 commit ed1aec2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/Portenta_System/examples/PortentaH7_updateBootloader/PortentaH7_updateBootloader.ino

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include "FlashIAP.h"
22
#include "bootloader.h"
33

4+
#ifndef CORE_CM7
5+
#error Update the bootloader by uploading the sketch to the M7 core instead of the M4 core.
6+
#endif
7+
48
#define BOOTLOADER_ADDR (0x8000000)
59
mbed::FlashIAP flash;
610

0 commit comments

Comments
 (0)