Skip to content

Commit

Permalink
Nudge user to update the WiFi FW through the M7
Browse files Browse the repository at this point in the history
  • Loading branch information
sebromero committed Oct 15, 2020
1 parent 1bc61f6 commit d50d3dc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#include "wiced_resource.h"
#include "certificates.h"

#ifndef CORE_CM7
#error Update the WiFi firmware by uploading the sketch to the M7 core instead of the M4 core.
#endif

QSPIFBlockDevice root(PD_11, PD_12, PF_7, PD_13, PF_10, PG_6, QSPIF_POLARITY_MODE_1, 40000000);
mbed::MBRBlockDevice wifi_data(&root, 1);
mbed::FATFileSystem wifi_data_fs("wlan");
Expand Down Expand Up @@ -87,4 +91,4 @@ void setup() {

void loop() {

}
}

0 comments on commit d50d3dc

Please sign in to comment.