mirror of https://github.com/ARMmbed/mbed-os.git
Adopted nsapi header in lwip
parent
c412a0cfde
commit
f49aa238d2
|
@ -14,9 +14,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mbed.h"
|
|
||||||
#include "EthernetInterface.h"
|
#include "EthernetInterface.h"
|
||||||
#include "NetworkStack.h"
|
#include "mbed.h"
|
||||||
#include "SingletonPtr.h"
|
#include "SingletonPtr.h"
|
||||||
|
|
||||||
#include "eth_arch.h"
|
#include "eth_arch.h"
|
||||||
|
|
|
@ -17,13 +17,14 @@
|
||||||
#ifndef ETHERNET_INTERFACE_H
|
#ifndef ETHERNET_INTERFACE_H
|
||||||
#define ETHERNET_INTERFACE_H
|
#define ETHERNET_INTERFACE_H
|
||||||
|
|
||||||
#include "EthInterface.h"
|
#include "nsapi.h"
|
||||||
#include "rtos.h"
|
#include "rtos.h"
|
||||||
#include "lwip/netif.h"
|
#include "lwip/netif.h"
|
||||||
|
|
||||||
// Forward declaration
|
// Forward declaration
|
||||||
class NetworkStack;
|
class NetworkStack;
|
||||||
|
|
||||||
|
|
||||||
/** EthernetInterface class
|
/** EthernetInterface class
|
||||||
* Implementation of the NetworkStack for LWIP
|
* Implementation of the NetworkStack for LWIP
|
||||||
*/
|
*/
|
||||||
|
@ -60,4 +61,5 @@ protected:
|
||||||
virtual NetworkStack * get_stack(void);
|
virtual NetworkStack * get_stack(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue