mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
188:bcfe06ba3d64
Parent:
187:0387e8f68319
Child:
189:f392fc9709a3
--- a/targets/TARGET_Realtek/TARGET_AMEBA/rtw_emac.cpp	Thu Sep 06 13:40:20 2018 +0100
+++ b/targets/TARGET_Realtek/TARGET_AMEBA/rtw_emac.cpp	Thu Nov 08 11:46:34 2018 +0000
@@ -56,7 +56,7 @@
 
 uint8_t RTW_EMAC::get_hwaddr_size() const
 {
-    return ETHARP_HWADDR_LEN;
+    return ETH_HWADDR_LEN;
 }
 
 bool RTW_EMAC::get_hwaddr(uint8_t *addr) const
@@ -76,6 +76,7 @@
     } else {
         printf("Get HW address failed\r\n");
     }
+    return true;
 }
 
 void RTW_EMAC::set_hwaddr(const uint8_t *addr)