DISCO-H747I - Ethernet example not compiling

Trying to get the ethernet working on a DISCO-H747I with OS6.11.
I am using the example code from the Ethernet API https://os.mbed.com/docs/mbed-os/v6.11/apis/ethernet.html but it fails to compile with a the following error:
Error: L6218E: Undefined symbol EMAC::get_default_instance() (referred from …/…/build/main.DISCO_H747I.o).
Is Ethernet supported for the H747I within OS6.11?
Or have I missed a step somewhere?

Thanks in advance.


It seems, it is not enabled in default, so try to check the board page in section known-limitations which refer to this - DISCO_H747I modifications for Ethernet - | Mbed

BR, Jan

Hi Jan,

Thanks for getting back to me.
I had made the modifications to the DISCO_H747I but I hadn’t included the mbed_app.json file.
I can now compile it, but it doesn’t connect to a network.
Adding a thread_sleep_for(5000); at the start of main solved that problem and it is now connecting to a network and returning the time server data.

Thanks again for you assistance.