Skip to content

Commit 07e4ab0

Browse files
committed
Nudge user to update the WiFi FW through the M7
1 parent ed1aec2 commit 07e4ab0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libraries/WiFi/examples/PortentaWiFiFirmwareUpdater/PortentaWiFiFirmwareUpdater.ino

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#include "wiced_resource.h"
55
#include "certificates.h"
66

7+
#ifndef CORE_CM7
8+
#error Update the WiFi firmware by uploading the sketch to the M7 core instead of the M4 core.
9+
#endif
10+
711
QSPIFBlockDevice root(PD_11, PD_12, PF_7, PD_13, PF_10, PG_6, QSPIF_POLARITY_MODE_1, 40000000);
812
mbed::MBRBlockDevice wifi_data(&root, 1);
913
mbed::FATFileSystem wifi_data_fs("wlan");
@@ -87,4 +91,4 @@ void setup() {
8791

8892
void loop() {
8993

90-
}
94+
}

0 commit comments

Comments
 (0)