Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mbed-os/features/unsupported/tests/mbed/detect/main.cpp
- Revision:
- 0:6bf0743ece18
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os/features/unsupported/tests/mbed/detect/main.cpp Sat Mar 28 15:28:19 2020 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "test_env.h"
+
+int main() {
+ MBED_HOSTTEST_TIMEOUT(10);
+ MBED_HOSTTEST_SELECT(detect_auto);
+ MBED_HOSTTEST_DESCRIPTION(Simple detect test);
+ MBED_HOSTTEST_START("DTCT_1");
+
+ notify_start();
+ printf("MBED: Target '%s'\r\n", TEST_SUITE_TARGET_NAME);
+ printf("MBED: Test ID '%s'\r\n", TEST_SUITE_TEST_ID);
+ printf("MBED: UUID '%s'\r\n", TEST_SUITE_UUID);
+ MBED_HOSTTEST_RESULT(true);
+}