From ac808d13dce2d2726cbe4c8b40d591ae7aba92cf Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 13 Sep 2024 06:11:13 -0400 Subject: [PATCH] doc: kernel: define additional doxygen groups Some groups are used by multiple files/tests, define them globally in doc/ Signed-off-by: Anas Nashif --- doc/_doxygen/groups.dox | 10 ++++++++++ .../kernel/mem_protect/mem_protect/src/mem_partition.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/doc/_doxygen/groups.dox b/doc/_doxygen/groups.dox index 08e04e2b40143a..38edbb052b2dcf 100644 --- a/doc/_doxygen/groups.dox +++ b/doc/_doxygen/groups.dox @@ -79,4 +79,14 @@ @{ @} +@brief Tests +@defgroup all_tests Tests +@{ +@} + +@defgroup kernel_memprotect_tests Memory Protection +@ingroup all_tests +@{ +@} + */ diff --git a/tests/kernel/mem_protect/mem_protect/src/mem_partition.c b/tests/kernel/mem_protect/mem_protect/src/mem_partition.c index 61f2c8a295295b..f6d35e2c25f0af 100644 --- a/tests/kernel/mem_protect/mem_protect/src/mem_partition.c +++ b/tests/kernel/mem_protect/mem_protect/src/mem_partition.c @@ -7,6 +7,8 @@ #include #include "mem_protect.h" + + /* Add volatile to disable pre-calculation in compile stage in some * toolchain, such as arcmwdt toolchain. */