@@ -72,7 +72,7 @@ K_HEAP_DEFINE(tiny_heap, 1);
72
72
volatile uint32_t heap_guard1 ;
73
73
74
74
/** @brief Test a minimum-size static k_heap
75
- * @ingroup kernel_kheap_api_tests
75
+ * @ingroup k_heap_api_tests
76
76
*
77
77
* @details Create a minimum size (1-byte) static heap, verify that it
78
78
* works to allocate that byte at runtime and that it doesn't overflow
@@ -105,7 +105,7 @@ ZTEST(k_heap_api, test_k_heap_min_size)
105
105
/**
106
106
* @brief Test to demonstrate k_heap_alloc() and k_heap_free() API usage
107
107
*
108
- * @ingroup kernel_kheap_api_tests
108
+ * @ingroup k_heap_api_tests
109
109
*
110
110
* @details The test allocates 1024 bytes from 2048 byte heap,
111
111
* and checks if allocation is successful or not
@@ -129,7 +129,7 @@ ZTEST(k_heap_api, test_k_heap_alloc)
129
129
/**
130
130
* @brief Test to demonstrate k_heap_alloc() and k_heap_free() API usage
131
131
*
132
- * @ingroup kernel_kheap_api_tests
132
+ * @ingroup k_heap_api_tests
133
133
*
134
134
* @details The test allocates 2049 bytes, which is greater than the heap
135
135
* size(2048 bytes), and checks for NULL return from k_heap_alloc
@@ -151,7 +151,7 @@ ZTEST(k_heap_api, test_k_heap_alloc_fail)
151
151
/**
152
152
* @brief Test to demonstrate k_heap_free() API functionality.
153
153
*
154
- * @ingroup kernel_kheap_api_tests
154
+ * @ingroup k_heap_api_tests
155
155
*
156
156
* @details The test validates k_heap_free()
157
157
* API, by using below steps
@@ -184,7 +184,7 @@ ZTEST(k_heap_api, test_k_heap_free)
184
184
* @details The test validates k_heap_alloc() in isr context, the timeout
185
185
* param should be K_NO_WAIT, because this situation isn't allow to wait.
186
186
*
187
- * @ingroup kernel_heap_tests
187
+ * @ingroup k_heap_api_tests
188
188
*/
189
189
ZTEST (k_heap_api , test_kheap_alloc_in_isr_nowait )
190
190
{
@@ -198,7 +198,7 @@ ZTEST(k_heap_api, test_kheap_alloc_in_isr_nowait)
198
198
* child thread. If there isn't enough space in the heap, the child thread
199
199
* will wait timeout long until main thread free the buffer to heap.
200
200
*
201
- * @ingroup kernel_heap_tests
201
+ * @ingroup k_heap_api_tests
202
202
*/
203
203
ZTEST (k_heap_api , test_k_heap_alloc_pending )
204
204
{
@@ -235,7 +235,7 @@ ZTEST(k_heap_api, test_k_heap_alloc_pending)
235
235
* will wait timeout long until main thread free one of the buffer to heap, space in
236
236
* the heap is still not enough and then return null after timeout.
237
237
*
238
- * @ingroup kernel_heap_tests
238
+ * @ingroup k_heap_api_tests
239
239
*/
240
240
ZTEST (k_heap_api , test_k_heap_alloc_pending_null )
241
241
{
@@ -271,7 +271,7 @@ ZTEST(k_heap_api, test_k_heap_alloc_pending_null)
271
271
/**
272
272
* @brief Test to demonstrate k_heap_calloc() and k_heap_free() API usage
273
273
*
274
- * @ingroup kernel_kheap_api_tests
274
+ * @ingroup k_heap_api_tests
275
275
*
276
276
* @details The test allocates 256 unsigned integers of 4 bytes for a
277
277
* total of 1024 bytes from the 2048 byte heap. It checks if allocation
0 commit comments