mirror of https://github.com/ARMmbed/mbed-os.git
Update netsocket header and source reference in other libraries
parent
b1a5e1b72d
commit
21325e281a
|
@ -112,7 +112,6 @@ set(unittest-includes-base
|
|||
"${PROJECT_SOURCE_DIR}/stubs"
|
||||
"${PROJECT_SOURCE_DIR}/.."
|
||||
"${PROJECT_SOURCE_DIR}/../features"
|
||||
"${PROJECT_SOURCE_DIR}/../features/netsocket"
|
||||
"${PROJECT_SOURCE_DIR}/../platform"
|
||||
"${PROJECT_SOURCE_DIR}/../storage/filesystem/littlefs/include"
|
||||
"${PROJECT_SOURCE_DIR}/../storage/filesystem/fat/include"
|
||||
|
@ -128,6 +127,7 @@ set(unittest-includes-base
|
|||
"${PROJECT_SOURCE_DIR}/../features/frameworks/mbed-trace"
|
||||
"${PROJECT_SOURCE_DIR}/../connectivity/libraries/nanostack-libservice"
|
||||
"${PROJECT_SOURCE_DIR}/../connectivity/libraries/nanostack-libservice/mbed-client-libservice"
|
||||
"${PROJECT_SOURCE_DIR}/../connectivity/netsocket/include"
|
||||
"${PROJECT_SOURCE_DIR}/../features/filesystem/fat"
|
||||
"${PROJECT_SOURCE_DIR}/../features/filesystem/fat/ChaN"
|
||||
"${PROJECT_SOURCE_DIR}/../features/filesystem/bd"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
#include "events/EventQueue.h"
|
||||
#include "ATHandler_stub.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "stdint.h"
|
||||
#include "stdbool.h"
|
||||
#include <cstddef>
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
#include "ATHandler.h"
|
||||
#include "FileHandle_stub.h"
|
||||
#include "Callback.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#include "AT_CellularInformation.h"
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
using namespace mbed;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "CellularUtil.h"
|
||||
#include "CellularLog.h"
|
||||
#include "FileHandle.h"
|
||||
#include "nsapi_types.h"
|
||||
#include "netsocket/nsapi_types.h"
|
||||
|
||||
using namespace mbed;
|
||||
using namespace mbed_cellular_util;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "CellularInterface.h"
|
||||
#include "netsocket/CellularInterface.h"
|
||||
|
||||
MBED_WEAK CellularInterface *CellularInterface::get_target_default_instance()
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "ControlPlane_netif.h"
|
||||
#include "netsocket/ControlPlane_netif.h"
|
||||
#include <list>
|
||||
|
||||
namespace mbed {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "gtest/gtest.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "features/netsocket/EMAC.h"
|
||||
#include "netsocket/EMAC.h"
|
||||
|
||||
class MockEMAC : public EMAC {
|
||||
public:
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "MeshInterface.h"
|
||||
#include "netsocket/MeshInterface.h"
|
||||
|
||||
MBED_WEAK MeshInterface *MeshInterface::get_target_default_instance()
|
||||
{
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#include "netsocket/NetworkInterface.h"
|
||||
#include "WiFiInterface.h"
|
||||
#include "CellularInterface.h"
|
||||
#include "MeshInterface.h"
|
||||
#include "netsocket/WiFiInterface.h"
|
||||
#include "netsocket/CellularInterface.h"
|
||||
#include "netsocket/MeshInterface.h"
|
||||
|
||||
MBED_WEAK WiFiInterface *WiFiInterface::get_default_instance()
|
||||
{
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "NetworkStack.h"
|
||||
#include "nsapi_dns.h"
|
||||
#include "netsocket/NetworkStack.h"
|
||||
#include "netsocket/nsapi_dns.h"
|
||||
#include "mbed.h"
|
||||
#include "stddef.h"
|
||||
#include <new>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "SocketAddress.h"
|
||||
#include "netsocket/SocketAddress.h"
|
||||
|
||||
|
||||
SocketAddress::SocketAddress(const nsapi_addr_t &addr, uint16_t port)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "SocketStats.h"
|
||||
#include "netsocket/SocketStats.h"
|
||||
|
||||
#if MBED_CONF_NSAPI_SOCKET_STATS_ENABLED
|
||||
int SocketStats::get_entry_position(const Socket *const reference_id)
|
||||
|
|
|
@ -9,7 +9,6 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/common
|
||||
../connectivity/cellular/include/cellular/framework/AT
|
||||
../connectivity/cellular/include/cellular/framework/device
|
||||
../features/netsocket/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
|
@ -12,7 +12,7 @@ set(unittest-includes ${unittest-includes}
|
|||
../features/frameworks/mbed-client-randlib/mbed-client-randlib
|
||||
../drivers
|
||||
../hal
|
||||
../features/netsocket/cellular
|
||||
../features/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
|
@ -9,7 +9,7 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/common
|
||||
../connectivity/cellular/include/cellular/framework/AT
|
||||
../features/frameworks/mbed-client-randlib/mbed-client-randlib
|
||||
../features/netsocket/cellular
|
||||
../features/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
|
@ -9,7 +9,7 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/common
|
||||
../connectivity/cellular/include/cellular/framework/AT
|
||||
../features/frameworks/mbed-client-randlib/mbed-client-randlib
|
||||
../features/netsocket/cellular
|
||||
../features/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
|
@ -9,7 +9,7 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/common
|
||||
../connectivity/cellular/include/cellular/framework/AT
|
||||
../features/frameworks/mbed-client-randlib/mbed-client-randlib
|
||||
../features/netsocket/cellular
|
||||
../features/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "FileHandle_stub.h"
|
||||
#include "CellularLog.h"
|
||||
#include "ATHandler_stub.h"
|
||||
#include "SocketAddress.h"
|
||||
#include "netsocket/SocketAddress.h"
|
||||
#include "CellularDevice_stub.h"
|
||||
#include "AT_CellularDevice_stub.h"
|
||||
#include "myCellularDevice.h"
|
||||
|
|
|
@ -9,7 +9,7 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/common
|
||||
../connectivity/cellular/include/cellular/framework/AT
|
||||
../features/frameworks/mbed-client-randlib/mbed-client-randlib
|
||||
../features/netsocket/cellular
|
||||
../features/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
@ -20,7 +20,7 @@ set(unittest-sources
|
|||
../connectivity/libraries/nanostack-libservice/source/libip4string/stoip4.c
|
||||
../connectivity/libraries/nanostack-libservice/source/libip6string/stoip6.c
|
||||
../connectivity/libraries/nanostack-libservice/source/libBits/common_functions.c
|
||||
../features/netsocket/SocketAddress.cpp
|
||||
../connectivity/netsocket/source/SocketAddress.cpp
|
||||
)
|
||||
|
||||
# Test files
|
||||
|
|
|
@ -8,7 +8,6 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/device/cellulardevice
|
||||
../connectivity/cellular/include/cellular/framework/device
|
||||
../connectivity/cellular/include/cellular/framework/common
|
||||
../features/netsocket/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
@ -19,7 +18,7 @@ set(unittest-sources
|
|||
../connectivity/libraries/nanostack-libservice/source/libip4string/stoip4.c
|
||||
../connectivity/libraries/nanostack-libservice/source/libip6string/stoip6.c
|
||||
../connectivity/libraries/nanostack-libservice/source/libBits/common_functions.c
|
||||
../features/netsocket/SocketAddress.cpp
|
||||
../connectivity/netsocket/source/SocketAddress.cpp
|
||||
)
|
||||
|
||||
# Test files
|
||||
|
|
|
@ -8,7 +8,6 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/device/cellulardevice
|
||||
../connectivity/cellular/include/cellular/framework/device
|
||||
../connectivity/cellular/include/cellular/framework/common
|
||||
../features/netsocket/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
|
@ -8,7 +8,6 @@ set(unittest-includes ${unittest-includes}
|
|||
../connectivity/cellular/include/cellular/framework/device/cellularstatemachine
|
||||
../connectivity/cellular/include/cellular/framework/device
|
||||
../connectivity/cellular/include/cellular/framework/common
|
||||
../features/netsocket/cellular
|
||||
)
|
||||
|
||||
# Source files
|
||||
|
|
Loading…
Reference in New Issue