diff --git a/TESTS/mbedmicro-net/.mbedignore b/features/FEATURE_IPV4/TESTS/mbedmicro-net/.mbedignore similarity index 100% rename from TESTS/mbedmicro-net/.mbedignore rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/.mbedignore diff --git a/TESTS/mbedmicro-net/host_tests/tcp_echo_client.py b/features/FEATURE_IPV4/TESTS/mbedmicro-net/host_tests/tcp_echo_client.py similarity index 100% rename from TESTS/mbedmicro-net/host_tests/tcp_echo_client.py rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/host_tests/tcp_echo_client.py diff --git a/TESTS/mbedmicro-net/host_tests/udp_echo_client.py b/features/FEATURE_IPV4/TESTS/mbedmicro-net/host_tests/udp_echo_client.py similarity index 100% rename from TESTS/mbedmicro-net/host_tests/udp_echo_client.py rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/host_tests/udp_echo_client.py diff --git a/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp b/features/FEATURE_IPV4/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp similarity index 95% rename from TESTS/mbedmicro-net/nist_internet_time_service/main.cpp rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp index aefa9931bf..7644fda94c 100644 --- a/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp +++ b/features/FEATURE_IPV4/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp @@ -1,3 +1,7 @@ +#if !FEATURE_IPV4 + #error [NOT_SUPPORTED] IPV4 not supported for this target +#endif + #include "mbed.h" #include "LWIPInterface.h" #include "UDPSocket.h" diff --git a/TESTS/mbedmicro-net/tcp_client_echo/main.cpp b/features/FEATURE_IPV4/TESTS/mbedmicro-net/tcp_client_echo/main.cpp similarity index 96% rename from TESTS/mbedmicro-net/tcp_client_echo/main.cpp rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/tcp_client_echo/main.cpp index 4b0e9a8afc..5580e89b54 100644 --- a/TESTS/mbedmicro-net/tcp_client_echo/main.cpp +++ b/features/FEATURE_IPV4/TESTS/mbedmicro-net/tcp_client_echo/main.cpp @@ -1,3 +1,7 @@ +#if !FEATURE_IPV4 + #error [NOT_SUPPORTED] IPV4 not supported for this target +#endif + #include "mbed.h" #include "LWIPInterface.h" #include "TCPSocket.h" diff --git a/TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp b/features/FEATURE_IPV4/TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp similarity index 96% rename from TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp index 3f094a90e6..041d888c0e 100644 --- a/TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp +++ b/features/FEATURE_IPV4/TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp @@ -1,3 +1,7 @@ +#if !FEATURE_IPV4 + #error [NOT_SUPPORTED] IPV4 not supported for this target +#endif + #include #include "mbed.h" #include "LWIPInterface.h" diff --git a/TESTS/mbedmicro-net/udp_echo_client/main.cpp b/features/FEATURE_IPV4/TESTS/mbedmicro-net/udp_echo_client/main.cpp similarity index 95% rename from TESTS/mbedmicro-net/udp_echo_client/main.cpp rename to features/FEATURE_IPV4/TESTS/mbedmicro-net/udp_echo_client/main.cpp index 84c0b26fa8..cafee58001 100644 --- a/TESTS/mbedmicro-net/udp_echo_client/main.cpp +++ b/features/FEATURE_IPV4/TESTS/mbedmicro-net/udp_echo_client/main.cpp @@ -1,3 +1,7 @@ +#if !FEATURE_IPV4 + #error [NOT_SUPPORTED] IPV4 not supported for this target +#endif + #include "mbed.h" #include "LWIPInterface.h" #include "UDPSocket.h" diff --git a/TESTS/cfstore/add_del/add_del.cpp b/features/storage/TESTS/cfstore/add_del/add_del.cpp similarity index 100% rename from TESTS/cfstore/add_del/add_del.cpp rename to features/storage/TESTS/cfstore/add_del/add_del.cpp diff --git a/TESTS/cfstore/close/close.cpp b/features/storage/TESTS/cfstore/close/close.cpp similarity index 100% rename from TESTS/cfstore/close/close.cpp rename to features/storage/TESTS/cfstore/close/close.cpp diff --git a/TESTS/cfstore/create/create.cpp b/features/storage/TESTS/cfstore/create/create.cpp similarity index 100% rename from TESTS/cfstore/create/create.cpp rename to features/storage/TESTS/cfstore/create/create.cpp diff --git a/TESTS/cfstore/example1/example1.cpp b/features/storage/TESTS/cfstore/example1/example1.cpp similarity index 100% rename from TESTS/cfstore/example1/example1.cpp rename to features/storage/TESTS/cfstore/example1/example1.cpp diff --git a/TESTS/cfstore/example2/example2.cpp b/features/storage/TESTS/cfstore/example2/example2.cpp similarity index 100% rename from TESTS/cfstore/example2/example2.cpp rename to features/storage/TESTS/cfstore/example2/example2.cpp diff --git a/TESTS/cfstore/example3/example3.cpp b/features/storage/TESTS/cfstore/example3/example3.cpp similarity index 100% rename from TESTS/cfstore/example3/example3.cpp rename to features/storage/TESTS/cfstore/example3/example3.cpp diff --git a/TESTS/cfstore/example4/example4.cpp b/features/storage/TESTS/cfstore/example4/example4.cpp similarity index 100% rename from TESTS/cfstore/example4/example4.cpp rename to features/storage/TESTS/cfstore/example4/example4.cpp diff --git a/TESTS/cfstore/example5/example5.cpp b/features/storage/TESTS/cfstore/example5/example5.cpp similarity index 100% rename from TESTS/cfstore/example5/example5.cpp rename to features/storage/TESTS/cfstore/example5/example5.cpp diff --git a/TESTS/cfstore/find/find.cpp b/features/storage/TESTS/cfstore/find/find.cpp similarity index 100% rename from TESTS/cfstore/find/find.cpp rename to features/storage/TESTS/cfstore/find/find.cpp diff --git a/TESTS/cfstore/find2/find2.cpp b/features/storage/TESTS/cfstore/find2/find2.cpp similarity index 100% rename from TESTS/cfstore/find2/find2.cpp rename to features/storage/TESTS/cfstore/find2/find2.cpp diff --git a/TESTS/cfstore/flash/flash.cpp b/features/storage/TESTS/cfstore/flash/flash.cpp similarity index 100% rename from TESTS/cfstore/flash/flash.cpp rename to features/storage/TESTS/cfstore/flash/flash.cpp diff --git a/TESTS/cfstore/flush/flush.cpp b/features/storage/TESTS/cfstore/flush/flush.cpp similarity index 100% rename from TESTS/cfstore/flush/flush.cpp rename to features/storage/TESTS/cfstore/flush/flush.cpp diff --git a/TESTS/cfstore/flush2/flush2.cpp b/features/storage/TESTS/cfstore/flush2/flush2.cpp similarity index 100% rename from TESTS/cfstore/flush2/flush2.cpp rename to features/storage/TESTS/cfstore/flush2/flush2.cpp diff --git a/TESTS/cfstore/init/init.cpp b/features/storage/TESTS/cfstore/init/init.cpp similarity index 100% rename from TESTS/cfstore/init/init.cpp rename to features/storage/TESTS/cfstore/init/init.cpp diff --git a/TESTS/cfstore/misc/misc.cpp b/features/storage/TESTS/cfstore/misc/misc.cpp similarity index 100% rename from TESTS/cfstore/misc/misc.cpp rename to features/storage/TESTS/cfstore/misc/misc.cpp diff --git a/TESTS/cfstore/open/open.cpp b/features/storage/TESTS/cfstore/open/open.cpp similarity index 100% rename from TESTS/cfstore/open/open.cpp rename to features/storage/TESTS/cfstore/open/open.cpp diff --git a/TESTS/cfstore/read/read.cpp b/features/storage/TESTS/cfstore/read/read.cpp similarity index 100% rename from TESTS/cfstore/read/read.cpp rename to features/storage/TESTS/cfstore/read/read.cpp diff --git a/TESTS/cfstore/write/write.cpp b/features/storage/TESTS/cfstore/write/write.cpp similarity index 100% rename from TESTS/cfstore/write/write.cpp rename to features/storage/TESTS/cfstore/write/write.cpp diff --git a/TESTS/flash_journal/basicAPI/basicAPI.cpp b/features/storage/TESTS/flash_journal/basicAPI/basicAPI.cpp similarity index 100% rename from TESTS/flash_journal/basicAPI/basicAPI.cpp rename to features/storage/TESTS/flash_journal/basicAPI/basicAPI.cpp