mbed library sources. Supersedes mbed-src.

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

Revision:
169:e3b6fe271b81
Parent:
167:e84263d55307
Child:
172:7d866c31b3c5
diff -r 9672193075cf -r e3b6fe271b81 targets/TARGET_Realtek/TARGET_AMEBA/RTWInterface.cpp
--- a/targets/TARGET_Realtek/TARGET_AMEBA/RTWInterface.cpp	Thu Jul 06 15:42:05 2017 +0100
+++ b/targets/TARGET_Realtek/TARGET_AMEBA/RTWInterface.cpp	Wed Jul 19 17:31:21 2017 +0100
@@ -85,12 +85,14 @@
     return RTW_SUCCESS;
 }
 
-RTWInterface::RTWInterface()
+RTWInterface::RTWInterface(bool debug)
     : _dhcp(true), _ip_address(), _netmask(), _gateway()
 {
     emac_interface_t *emac;
     int ret;
+    extern u32 GlobalDebugEnable; 
 
+    GlobalDebugEnable = debug?1:0;
     emac = wlan_emac_init_interface();
     if (!emac) {
         printf("Error init RTWInterface!\r\n");