|
4 | 4 | * SPDX-License-Identifier: Apache-2.0
|
5 | 5 | */
|
6 | 6 |
|
7 |
| -/* |
8 |
| - * @file |
9 |
| - * @brief Test early sleep functionality |
10 |
| - * |
11 |
| - * @defgroup kernel_earlysleep_tests Early Sleep Tests |
12 |
| - * |
13 |
| - * @ingroup all_tests |
14 |
| - * |
15 |
| - * This test verifies that k_sleep() can be used to put the calling thread to |
16 |
| - * sleep for a specified number of ticks during system initialization. In this |
17 |
| - * test we are calling k_sleep() at POST_KERNEL and APPLICATION level |
18 |
| - * initialization sequence. |
19 |
| - * |
20 |
| - * Note: We can not call k_sleep() during PRE_KERNEL1 or PRE_KERNEL2 level |
21 |
| - * because the core kernel objects and devices initialization happens at these |
22 |
| - * levels. |
23 |
| - * @{ |
24 |
| - * @} |
25 |
| - */ |
| 7 | + |
26 | 8 |
|
27 | 9 | #include <zephyr/init.h>
|
28 | 10 | #include <zephyr/arch/cpu.h>
|
@@ -82,12 +64,19 @@ static int test_early_sleep_app(void)
|
82 | 64 |
|
83 | 65 | SYS_INIT(test_early_sleep_app, APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
|
84 | 66 |
|
85 |
| -/** |
86 |
| - * @brief Test early sleep |
| 67 | +/* |
| 68 | + * @brief Test early sleep functionality |
| 69 | + * |
| 70 | + * @ingroup kernel_sleep_tests |
87 | 71 | *
|
88 |
| - * @ingroup kernel_earlysleep_tests |
| 72 | + * This test verifies that k_sleep() can be used to put the calling thread to |
| 73 | + * sleep for a specified number of ticks during system initialization. In this |
| 74 | + * test we are calling k_sleep() at POST_KERNEL and APPLICATION level |
| 75 | + * initialization sequence. |
89 | 76 | *
|
90 |
| - * @see k_sleep() |
| 77 | + * Note: We can not call k_sleep() during PRE_KERNEL1 or PRE_KERNEL2 level |
| 78 | + * because the core kernel objects and devices initialization happens at these |
| 79 | + * levels. |
91 | 80 | */
|
92 | 81 | ZTEST(earlysleep, test_early_sleep)
|
93 | 82 | {
|
|
0 commit comments