diff --git a/features/frameworks/mbed-coap/.gitattributes b/features/FEATURE_MBED_COAP/.gitattributes similarity index 100% rename from features/frameworks/mbed-coap/.gitattributes rename to features/FEATURE_MBED_COAP/.gitattributes diff --git a/features/frameworks/mbed-coap/.gitignore b/features/FEATURE_MBED_COAP/.gitignore similarity index 100% rename from features/frameworks/mbed-coap/.gitignore rename to features/FEATURE_MBED_COAP/.gitignore diff --git a/features/frameworks/mbed-coap/.mbedignore b/features/FEATURE_MBED_COAP/.mbedignore similarity index 100% rename from features/frameworks/mbed-coap/.mbedignore rename to features/FEATURE_MBED_COAP/.mbedignore diff --git a/features/frameworks/mbed-coap/CHANGELOG.md b/features/FEATURE_MBED_COAP/CHANGELOG.md similarity index 100% rename from features/frameworks/mbed-coap/CHANGELOG.md rename to features/FEATURE_MBED_COAP/CHANGELOG.md diff --git a/features/frameworks/mbed-coap/LICENSE b/features/FEATURE_MBED_COAP/LICENSE similarity index 100% rename from features/frameworks/mbed-coap/LICENSE rename to features/FEATURE_MBED_COAP/LICENSE diff --git a/features/frameworks/mbed-coap/Makefile b/features/FEATURE_MBED_COAP/Makefile similarity index 100% rename from features/frameworks/mbed-coap/Makefile rename to features/FEATURE_MBED_COAP/Makefile diff --git a/features/frameworks/mbed-coap/Makefile.test b/features/FEATURE_MBED_COAP/Makefile.test similarity index 100% rename from features/frameworks/mbed-coap/Makefile.test rename to features/FEATURE_MBED_COAP/Makefile.test diff --git a/features/frameworks/mbed-coap/README.md b/features/FEATURE_MBED_COAP/README.md similarity index 100% rename from features/frameworks/mbed-coap/README.md rename to features/FEATURE_MBED_COAP/README.md diff --git a/features/frameworks/mbed-coap/README.txt b/features/FEATURE_MBED_COAP/README.txt similarity index 100% rename from features/frameworks/mbed-coap/README.txt rename to features/FEATURE_MBED_COAP/README.txt diff --git a/features/frameworks/mbed-coap/apache-2.0.txt b/features/FEATURE_MBED_COAP/apache-2.0.txt similarity index 100% rename from features/frameworks/mbed-coap/apache-2.0.txt rename to features/FEATURE_MBED_COAP/apache-2.0.txt diff --git a/features/frameworks/mbed-coap/doxygen/libcoap_doxy b/features/FEATURE_MBED_COAP/doxygen/libcoap_doxy similarity index 100% rename from features/frameworks/mbed-coap/doxygen/libcoap_doxy rename to features/FEATURE_MBED_COAP/doxygen/libcoap_doxy diff --git a/features/frameworks/mbed-coap/junit_xsl.xslt b/features/FEATURE_MBED_COAP/junit_xsl.xslt similarity index 100% rename from features/frameworks/mbed-coap/junit_xsl.xslt rename to features/FEATURE_MBED_COAP/junit_xsl.xslt diff --git a/features/frameworks/mbed-coap/mbed-coap/sn_coap_header.h b/features/FEATURE_MBED_COAP/mbed-coap/sn_coap_header.h similarity index 100% rename from features/frameworks/mbed-coap/mbed-coap/sn_coap_header.h rename to features/FEATURE_MBED_COAP/mbed-coap/sn_coap_header.h diff --git a/features/frameworks/mbed-coap/mbed-coap/sn_coap_protocol.h b/features/FEATURE_MBED_COAP/mbed-coap/sn_coap_protocol.h similarity index 100% rename from features/frameworks/mbed-coap/mbed-coap/sn_coap_protocol.h rename to features/FEATURE_MBED_COAP/mbed-coap/sn_coap_protocol.h diff --git a/features/frameworks/mbed-coap/mbed-coap/sn_config.h b/features/FEATURE_MBED_COAP/mbed-coap/sn_config.h similarity index 100% rename from features/frameworks/mbed-coap/mbed-coap/sn_config.h rename to features/FEATURE_MBED_COAP/mbed-coap/sn_config.h diff --git a/features/frameworks/mbed-coap/mbed_lib.json b/features/FEATURE_MBED_COAP/mbed_lib.json similarity index 100% rename from features/frameworks/mbed-coap/mbed_lib.json rename to features/FEATURE_MBED_COAP/mbed_lib.json diff --git a/features/frameworks/mbed-coap/run_unit_tests.sh b/features/FEATURE_MBED_COAP/run_unit_tests.sh similarity index 100% rename from features/frameworks/mbed-coap/run_unit_tests.sh rename to features/FEATURE_MBED_COAP/run_unit_tests.sh diff --git a/features/frameworks/mbed-coap/run_unit_tests_with_valgrind.sh b/features/FEATURE_MBED_COAP/run_unit_tests_with_valgrind.sh similarity index 100% rename from features/frameworks/mbed-coap/run_unit_tests_with_valgrind.sh rename to features/FEATURE_MBED_COAP/run_unit_tests_with_valgrind.sh diff --git a/features/frameworks/mbed-coap/source/include/sn_coap_header_internal.h b/features/FEATURE_MBED_COAP/source/include/sn_coap_header_internal.h similarity index 100% rename from features/frameworks/mbed-coap/source/include/sn_coap_header_internal.h rename to features/FEATURE_MBED_COAP/source/include/sn_coap_header_internal.h diff --git a/features/frameworks/mbed-coap/source/include/sn_coap_protocol_internal.h b/features/FEATURE_MBED_COAP/source/include/sn_coap_protocol_internal.h similarity index 100% rename from features/frameworks/mbed-coap/source/include/sn_coap_protocol_internal.h rename to features/FEATURE_MBED_COAP/source/include/sn_coap_protocol_internal.h diff --git a/features/frameworks/mbed-coap/source/sn_coap_builder.c b/features/FEATURE_MBED_COAP/source/sn_coap_builder.c similarity index 100% rename from features/frameworks/mbed-coap/source/sn_coap_builder.c rename to features/FEATURE_MBED_COAP/source/sn_coap_builder.c diff --git a/features/frameworks/mbed-coap/source/sn_coap_header_check.c b/features/FEATURE_MBED_COAP/source/sn_coap_header_check.c similarity index 100% rename from features/frameworks/mbed-coap/source/sn_coap_header_check.c rename to features/FEATURE_MBED_COAP/source/sn_coap_header_check.c diff --git a/features/frameworks/mbed-coap/source/sn_coap_parser.c b/features/FEATURE_MBED_COAP/source/sn_coap_parser.c similarity index 100% rename from features/frameworks/mbed-coap/source/sn_coap_parser.c rename to features/FEATURE_MBED_COAP/source/sn_coap_parser.c diff --git a/features/frameworks/mbed-coap/source/sn_coap_protocol.c b/features/FEATURE_MBED_COAP/source/sn_coap_protocol.c similarity index 100% rename from features/frameworks/mbed-coap/source/sn_coap_protocol.c rename to features/FEATURE_MBED_COAP/source/sn_coap_protocol.c diff --git a/features/frameworks/mbed-coap/xsl_script.sh b/features/FEATURE_MBED_COAP/xsl_script.sh similarity index 100% rename from features/frameworks/mbed-coap/xsl_script.sh rename to features/FEATURE_MBED_COAP/xsl_script.sh diff --git a/features/frameworks/mbed-coap/.settings/language.settings.xml b/features/frameworks/mbed-coap/.settings/language.settings.xml deleted file mode 100644 index 10adfebcee6..00000000000 --- a/features/frameworks/mbed-coap/.settings/language.settings.xml +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/frameworks/mbed-coap/.settings/org.eclipse.cdt.core.prefs b/features/frameworks/mbed-coap/.settings/org.eclipse.cdt.core.prefs deleted file mode 100644 index 648e86b1d87..00000000000 --- a/features/frameworks/mbed-coap/.settings/org.eclipse.cdt.core.prefs +++ /dev/null @@ -1,62 +0,0 @@ -eclipse.preferences.version=1 -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/CC/delimiter=; -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/CC/operation=append -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/CC/value=gcc -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/V/delimiter=; -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/V/operation=append -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/V/value=1 -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/append=true -environment/project/0.2056004298.141662914.1517984773.801758434.1788862897.788959847/appendContributed=true -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/CPU/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/CPU/operation=replace -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/CPU/value=Cortex-M0 -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/DEBUG/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/DEBUG/operation=replace -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/DEBUG/value=1 -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/PLATFORM/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/PLATFORM/operation=append -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/PLATFORM/value=arm-unknown-linux-uclibcgnueabi- -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/V/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/V/operation=append -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/V/value=1 -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/append=true -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701.1678729521/appendContributed=true -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/CPU/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/CPU/operation=replace -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/CPU/value=Cortex-M0 -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/DEBUG/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/DEBUG/operation=replace -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/DEBUG/value=1 -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/PLATFORM/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/PLATFORM/operation=append -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/PLATFORM/value=arm-unknown-linux-uclibcgnueabi- -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/V/delimiter=; -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/V/operation=append -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/V/value=1 -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/append=true -environment/project/0.2056004298.141662914.2121498000.642060230.2118977701/appendContributed=true -environment/project/0.2056004298.1497082229.1854995973/CC/delimiter=; -environment/project/0.2056004298.1497082229.1854995973/CC/operation=append -environment/project/0.2056004298.1497082229.1854995973/CC/value=ArmCC -environment/project/0.2056004298.1497082229.1854995973/CPU/delimiter=; -environment/project/0.2056004298.1497082229.1854995973/CPU/operation=replace -environment/project/0.2056004298.1497082229.1854995973/CPU/value=Cortex-M0 -environment/project/0.2056004298.1497082229.1854995973/DEBUG/delimiter=; -environment/project/0.2056004298.1497082229.1854995973/DEBUG/operation=replace -environment/project/0.2056004298.1497082229.1854995973/DEBUG/value=1 -environment/project/0.2056004298.1497082229.1854995973/V/delimiter=; -environment/project/0.2056004298.1497082229.1854995973/V/operation=append -environment/project/0.2056004298.1497082229.1854995973/V/value=1 -environment/project/0.2056004298.1497082229.1854995973/append=true -environment/project/0.2056004298.1497082229.1854995973/appendContributed=true -environment/project/0.2056004298.1497082229/CC/delimiter=; -environment/project/0.2056004298.1497082229/CC/operation=append -environment/project/0.2056004298.1497082229/CC/value=ArmCC -environment/project/0.2056004298.1497082229/CPU/delimiter=; -environment/project/0.2056004298.1497082229/CPU/operation=append -environment/project/0.2056004298.1497082229/CPU/value=Cortex-M3 -environment/project/0.2056004298.1497082229/V/delimiter=; -environment/project/0.2056004298.1497082229/V/operation=append -environment/project/0.2056004298.1497082229/V/value=1 -environment/project/0.2056004298.1497082229/append=true -environment/project/0.2056004298.1497082229/appendContributed=true diff --git a/targets/targets.json b/targets/targets.json index 664430e6085..e1fd49d2475 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -13,7 +13,9 @@ "is_disk_virtual": false, "macros": [], "device_has": [], - "features": [], + "features": [ + "MBED_COAP" + ], "detect_code": [], "public": false, "c_lib": "std", diff --git a/tools/config/__init__.py b/tools/config/__init__.py index 88d593ad27d..fbd287e3769 100755 --- a/tools/config/__init__.py +++ b/tools/config/__init__.py @@ -69,7 +69,7 @@ ALLOWED_FEATURES = [ - "BOOTLOADER", "BLE", "LWIP", "STORAGE", "NANOSTACK", "CRYPTOCELL310", + "BOOTLOADER", "BLE", "LWIP", "STORAGE", "NANOSTACK", "CRYPTOCELL310", "MBED_COAP" ] # List of all possible ram memories that can be available for a target