DISCO-L475VG-IOT01A and HTTP EXAMPLE

Can anyone help me to get the DISCO-L475VG-IOT01A working with the HTTP EXAMPLE,
https://os.mbed.com/teams/sandbox/code/http-example/
README.md file does say’

Tested on DISCO-L475VG-IOT01A with WiFi (requires the wifi-ism43362 driver).

So someone at Mbed must have got it working.

I’m using the online compiler.

I have added the st wi-fi driver to the root of the HTTP EXAMPLE folder,

This is my mbed_app.json file,

{
"config": {
    "wifi-shield": {
        "help": "Options are internal, WIFI_IDW0XX1",
        "value": "internal"
    },
    "wifi-ssid": {
        "help": "WiFi SSID",
        "value": "\"ssid\""
    },
    "wifi-password": {
        "help": "WiFi Password",
        "value": "\"pw\""
    },
    "wifi-tx": {
        "help": "TX pin for serial connection to external device",
        "value": "D1"
    },
    "wifi-rx": {
        "help": "RX pin for serial connection to external device",
        "value": "D0"
    },
    "wifi-spi_miso": {
        "help": "SPI-MISO connection to external device",
        "value": "PC_11"
    },
    "wifi-spi_mosi": {
        "help": "SPI-MOSI connection to external device",
        "value": "PC_12"
    },
    "wifi-spi_sclk": {
        "help": "SPI-CLOCK connection to external device",
        "value": "PC_10"
    },
    "wifi-spi_nss": {
        "help": "SPI chip select of external device",
        "value": "PE_0"
    },
    "wifi-reset": {
        "help": "WIFI module reset pin",
        "value": "PE_8"
    },
    "wifi-dataready": {
        "help": "WIFI module data ready pin",
        "value": "PE_1"
    },
    "wifi-wakeup": {
        "help": "WIFI module wakeup pin",
        "value": "PB_12"
    }
},
"target_overrides": {
    "*": {
        "platform.stdio-convert-newlines": true
    },
    "NUCLEO_L476RG": {
        "wifi-tx": "D8",
        "wifi-rx": "D2"
    },
    "NUCLEO_F401RE": {
        "wifi-tx": "D8",
        "wifi-rx": "D2"
    },
    "DISCO_L475VG_IOT1A": {
        "target.network-default-interface-type" : "WIFI",
        "wifi-spi_miso": "PC_11",
        "wifi-spi_mosi": "PC_12",
        "wifi-spi_sclk": "PC_10",
        "wifi-spi_nss": "PE_0",
        "wifi-reset": "PE_8",
        "wifi-dataready": "PE_1",
        "wifi-wakeup": "PB_12"
    },
    "DISCO_F413ZH": {
        "wifi-spi_miso": "PB_4",
        "wifi-spi_mosi": "PB_5",
        "wifi-spi_sclk": "PB_12",
        "wifi-spi_nss": "PG_11",
        "wifi-reset": "PH_1",
        "wifi-dataready": "PG_12",
        "wifi-wakeup": "PB_15"
    }
}

}

I have also added this to network-helper.h file,

#include "ISM43362Interface.h"
ISM43362Interface wifi(MBED_CONF_APP_WIFI_SPI_MOSI, MBED_CONF_APP_WIFI_SPI_MISO, MBED_CONF_APP_WIFI_SPI_SCLK, MBED_CONF_APP_WIFI_SPI_NSS, MBED_CONF_APP_WIFI_RESET, MBED_CONF_APP_WIFI_DATAREADY, MBED_CONF_APP_WIFI_WAKEUP, false);

But still get this when trying to connect,

[NWKH] No network interface found, select an interface in ‘network-helper.h’
Cannot connect to the network, see serial output

No build errors or warnings and have tried many different combinations.
Its going to be really simple, but I can’t get there.
The example works fine on many other platforms using the Mbed ESP8266 wi-fi.
Any suggestions would be appreciated.

Paul

I also have problems with examples mentioned by the mbed-http repo. It seem that latest mbed-os, may be after 5.11, may break mbed-http library. BTW, my WiFi works with the following mbed_app.json.

{
    "config": {
        "wifi-ssid": {
            "help": "WiFi SSID",
            "value": "\"SSID\""
        },
        "wifi-password": {
            "help": "WiFi Password",
            "value": "\"PASSWORD\""
        }        
    },
    "target_overrides": {
        "*": {
            "platform.stdio-convert-newlines": true     
        },
        "DISCO_L475VG_IOT01A": {
            "ism43362.provide-default": true
        }
    }
}

For the code, I have used the following code.

WiFiInterface* wifi = WiFiInterface::get_default_instance();