Skip to content

Giga: compatibility fixes with M4 builds #741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 13, 2023
Prev Previous commit
Next Next commit
WIP: wifi: cm4: override default firmware filesystem
  • Loading branch information
facchinm committed Nov 3, 2023
commit 3305d591c938f81eab6acf7bdf08b1adff8d5748
9 changes: 9 additions & 0 deletions libraries/WiFi/src/WiFi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,15 @@ void arduino::WiFiClass::MACAddress(uint8_t *mac_address)

#define WIFI_FIRMWARE_PATH "/wlan/4343WA1.BIN"

#if defined(CORE_CM4)
#include "QSPIFBlockDevice.h"
mbed::BlockDevice *mbed::BlockDevice::get_default_instance()
{
static QSPIFBlockDevice default_bd(PD_11, PD_12, PE_2, PF_6, PF_10, PG_6, QSPIF_POLARITY_MODE_1, 40000000);
return &default_bd;
}
#endif

bool firmware_available = false;

#include "wiced_filesystem.h"
Expand Down