mbed-os
Fork of mbed-os by
features/unsupported/tests/mbed/hello/main.cpp@1:3deb71413561, 2017-07-20 (annotated)
- Committer:
- xuaner
- Date:
- Thu Jul 20 14:26:57 2017 +0000
- Revision:
- 1:3deb71413561
- Parent:
- 0:f269e3021894
mbed_os
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | #include "test_env.h" |
elessair | 0:f269e3021894 | 2 | |
elessair | 0:f269e3021894 | 3 | int main() |
elessair | 0:f269e3021894 | 4 | { |
elessair | 0:f269e3021894 | 5 | MBED_HOSTTEST_TIMEOUT(5); |
elessair | 0:f269e3021894 | 6 | MBED_HOSTTEST_SELECT(hello_auto); |
elessair | 0:f269e3021894 | 7 | MBED_HOSTTEST_DESCRIPTION(Hello World); |
elessair | 0:f269e3021894 | 8 | MBED_HOSTTEST_START("MBED_10"); |
elessair | 0:f269e3021894 | 9 | |
elessair | 0:f269e3021894 | 10 | printf("Hello World\r\n"); |
elessair | 0:f269e3021894 | 11 | |
elessair | 0:f269e3021894 | 12 | while(1); |
elessair | 0:f269e3021894 | 13 | } |