Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 2 months ago.
EthernetInterface is still not supported
When compiling, it just show Error: #error directive: The Ethernet Interface library is not supported on this target in "F7_Ethernet/EthernetInterface.h", Line: 24, Col: 3 It seems the library have not updated yet to support this board, any idea?
Question relating to:
1 Answer
7 years, 2 months ago.
Can you give more details about your issue background: Mbed version? Compiler? What you want to do with Ethernet?(code example can put in main message use this editing tips
<<code >>
your code
<</code>>
)
You need to use mbed-os to be able to use EthernetInterface.
If you dont want to use mbed-os also there is this project https://os.mbed.com/users/DieterGraef/code/Nucleo_F746ZG_Ethernet/ for classic mbed.
Daniel
thanks for your reply, in fact I have try both mbed-os and the linked library you give above. But when I try mbed-os, my program without ethernet function not work properly. I cant find a document stating out what's difference with mbed. So I cant solve what's wrong going on. And Nucleo_F746ZG, it's not compatible with 767zi,Error: #error directive: The Ethernet Interface library is not supported on this target in "Nucleo_F746ZG_Ethernet/F7_Ethernet/EthernetInterface.h", Line: 24, Col: 3. I am using the online mbed complier, 5.6.2 mbed. I expected to run the program with mbed 5.6.2 and the EthernetInterface library found on mbed online complier, it seems the EthernetInterface have not updated to support this.And I am just trying the ethernet template on the mbed handbook. I'm a newbird.
posted by 17 Oct 2017Can you share please your code? May be you using outdated example
Also for me worked fine library for NucleoF746, just then compile I choose NucleoF746 and flash binary to my NucleoF767. Not sure if other functions will work but mainly all F7 series are compatible
Check this example which is up to date: https://github.com/ARMmbed/mbed-os-example-sockets
posted by 17 Oct 2017
I just tested the simple example named "mbed-os-tcp-server-example;" on NUCLEO_F767ZI and this works fine here. (note: I'm using mbed-os v5.6.2).
posted by Laurent Meunier 18 Oct 2017