title: Mbed Ethernet with serial port error Nucleo F746ZG
body: <p>I am trying to use the ethernet connection on the Nucleo F746ZG,
  But whenever i use the official include of mbed my pins aren't recognized anymore.
  Besides that some of the standard commands dont work either like digitalout.
  All help is welcome and thanks in advance.</p>
  
  <pre><code>#include "EthernetInterface.h"
  #include "mbed.h" //Includes a diffent map.
  #include &lt;string&gt;
  
  Serial pc(USBTX, USBRX);//Selects the type of serial and assigns a name to it.
  DigitalOut led1(LED1);//Selects the led.
  CAN can1(PD_0, PD_1); &lt;---- // CAN isnt recognized anymore //Sets the pins for the CAN.
  </code></pre>
  
  <p>this is the error i receive:</p>
  
  <p>Error: Identifier "CAN" is undefined in "Nucleo_F746ZG_Ethernet/main.cpp", Line: 7, Col: 2</p>