mirror of https://github.com/ARMmbed/mbed-os.git
restructure - Fixed include paths damaged by the restructure
parent
960d69f081
commit
c2d9fc29ff
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
typedef int FILEHANDLE;
|
typedef int FILEHANDLE;
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) || defined(__ICCARM__)
|
#if defined(__ARMCC_VERSION) || defined(__ICCARM__)
|
||||||
# define O_RDONLY 0
|
# define O_RDONLY 0
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "network-socket/CellularInterface.h"
|
#include "netsocket/CellularInterface.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef CELLULAR_INTERFACE_H
|
#ifndef CELLULAR_INTERFACE_H
|
||||||
#define CELLULAR_INTERFACE_H
|
#define CELLULAR_INTERFACE_H
|
||||||
|
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
|
|
||||||
|
|
||||||
/** CellularInterface class
|
/** CellularInterface class
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef ETH_INTERFACE_H
|
#ifndef ETH_INTERFACE_H
|
||||||
#define ETH_INTERFACE_H
|
#define ETH_INTERFACE_H
|
||||||
|
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
|
|
||||||
|
|
||||||
/** EthInterface class
|
/** EthInterface class
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef MESH_INTERFACE_H
|
#ifndef MESH_INTERFACE_H
|
||||||
#define MESH_INTERFACE_H
|
#define MESH_INTERFACE_H
|
||||||
|
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
|
|
||||||
|
|
||||||
/** MeshInterface class
|
/** MeshInterface class
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#ifndef NETWORK_INTERFACE_H
|
#ifndef NETWORK_INTERFACE_H
|
||||||
#define NETWORK_INTERFACE_H
|
#define NETWORK_INTERFACE_H
|
||||||
|
|
||||||
#include "network-socket/nsapi_types.h"
|
#include "netsocket/nsapi_types.h"
|
||||||
#include "network-socket/SocketAddress.h"
|
#include "netsocket/SocketAddress.h"
|
||||||
|
|
||||||
// Predeclared class
|
// Predeclared class
|
||||||
class NetworkStack;
|
class NetworkStack;
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
#define NETWORK_STACK_H
|
#define NETWORK_STACK_H
|
||||||
|
|
||||||
#include "nsapi_types.h"
|
#include "nsapi_types.h"
|
||||||
#include "network-socket/SocketAddress.h"
|
#include "netsocket/SocketAddress.h"
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
|
|
||||||
|
|
||||||
/** NetworkStack class
|
/** NetworkStack class
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#ifndef SOCKET_H
|
#ifndef SOCKET_H
|
||||||
#define SOCKET_H
|
#define SOCKET_H
|
||||||
|
|
||||||
#include "network-socket/SocketAddress.h"
|
#include "netsocket/SocketAddress.h"
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
#include "rtos/Mutex.h"
|
#include "rtos/Mutex.h"
|
||||||
#include "Callback.h"
|
#include "Callback.h"
|
||||||
#include "toolchain.h"
|
#include "toolchain.h"
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
#ifndef TCPSERVER_H
|
#ifndef TCPSERVER_H
|
||||||
#define TCPSERVER_H
|
#define TCPSERVER_H
|
||||||
|
|
||||||
#include "network-socket/Socket.h"
|
#include "netsocket/Socket.h"
|
||||||
#include "network-socket/TCPSocket.h"
|
#include "netsocket/TCPSocket.h"
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
#include "rtos/Semaphore.h"
|
#include "rtos/Semaphore.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
#ifndef TCPSOCKET_H
|
#ifndef TCPSOCKET_H
|
||||||
#define TCPSOCKET_H
|
#define TCPSOCKET_H
|
||||||
|
|
||||||
#include "network-socket/Socket.h"
|
#include "netsocket/Socket.h"
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
#include "rtos/Semaphore.h"
|
#include "rtos/Semaphore.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
#ifndef UDPSOCKET_H
|
#ifndef UDPSOCKET_H
|
||||||
#define UDPSOCKET_H
|
#define UDPSOCKET_H
|
||||||
|
|
||||||
#include "network-socket/Socket.h"
|
#include "netsocket/Socket.h"
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
#include "rtos/Semaphore.h"
|
#include "rtos/Semaphore.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "network-socket/WiFiInterface.h"
|
#include "netsocket/WiFiInterface.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef WIFI_INTERFACE_H
|
#ifndef WIFI_INTERFACE_H
|
||||||
#define WIFI_INTERFACE_H
|
#define WIFI_INTERFACE_H
|
||||||
|
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
|
|
||||||
|
|
||||||
/** Enum of WiFi encryption types
|
/** Enum of WiFi encryption types
|
||||||
|
|
|
@ -24,19 +24,19 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
// entry point for C++ api
|
// entry point for C++ api
|
||||||
#include "network-socket/SocketAddress.h"
|
#include "netsocket/SocketAddress.h"
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
|
|
||||||
#include "network-socket/NetworkInterface.h"
|
#include "netsocket/NetworkInterface.h"
|
||||||
#include "network-socket/EthInterface.h"
|
#include "netsocket/EthInterface.h"
|
||||||
#include "network-socket/WiFiInterface.h"
|
#include "netsocket/WiFiInterface.h"
|
||||||
#include "network-socket/CellularInterface.h"
|
#include "netsocket/CellularInterface.h"
|
||||||
#include "network-socket/MeshInterface.h"
|
#include "netsocket/MeshInterface.h"
|
||||||
|
|
||||||
#include "network-socket/Socket.h"
|
#include "netsocket/Socket.h"
|
||||||
#include "network-socket/UDPSocket.h"
|
#include "netsocket/UDPSocket.h"
|
||||||
#include "network-socket/TCPSocket.h"
|
#include "netsocket/TCPSocket.h"
|
||||||
#include "network-socket/TCPServer.h"
|
#include "netsocket/TCPServer.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include "nsapi_dns.h"
|
#include "nsapi_dns.h"
|
||||||
#include "network-socket/UDPSocket.h"
|
#include "netsocket/UDPSocket.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include "nsapi_types.h"
|
#include "nsapi_types.h"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#include "network-socket/NetworkStack.h"
|
#include "netsocket/NetworkStack.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
2
mbed.h
2
mbed.h
|
@ -23,7 +23,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MBED_CONF_NSAPI_PRESENT
|
#if MBED_CONF_NSAPI_PRESENT
|
||||||
#include "network-socket/nsapi.h"
|
#include "netsocket/nsapi.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MBED_CONF_EVENTS_PRESENT
|
#if MBED_CONF_EVENTS_PRESENT
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
#ifndef MBED_PLATFORM_H
|
#ifndef MBED_PLATFORM_H
|
||||||
#define MBED_PLATFORM_H
|
#define MBED_PLATFORM_H
|
||||||
|
|
||||||
#include "device.h"
|
|
||||||
#include "PinNames.h"
|
|
||||||
#include "PeripheralNames.h"
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#include "device.h"
|
||||||
|
#include "PinNames.h"
|
||||||
|
#include "PeripheralNames.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue