summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-10 16:03:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-10 16:06:22 +0200
commit70430d665f5b4599b97126497b8bfe863ac3656a (patch)
tree2dbd0629f683d6caa710906220775a15038ce2d5
parentdb9e90cdc59cc271626cabed6a01d603b171e436 (diff)
downloadrtems-central-70430d665f5b4599b97126497b8bfe863ac3656a.tar.bz2
interface: Add Doxygen links to config options
-rw-r--r--rtemsspec/interface.py3
-rw-r--r--rtemsspec/tests/test_interface.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index 28b5bc8..7e0e3a0 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -78,6 +78,9 @@ class _InterfaceMapper(ItemMapper):
self.add_get_value("interface/enum:doc:/name", get_value_hash)
self.add_get_value("interface/macro:doc:/name", get_value_hash)
self.add_get_value("interface/variable:doc:/name", get_value_hash)
+ for opt in ["feature-enable", "feature", "initializer", "integer"]:
+ name = f"interface/appl-config-option/{opt}:doc:/name"
+ self.add_get_value(name, get_value_hash)
@contextmanager
def code(self) -> Iterator[None]:
diff --git a/rtemsspec/tests/test_interface.py b/rtemsspec/tests/test_interface.py
index 7f7192e..832e231 100644
--- a/rtemsspec/tests/test_interface.py
+++ b/rtemsspec/tests/test_interface.py
@@ -184,7 +184,7 @@ typedef enum EnumB {
* @brief Function brief description.
*
* Function description. References to VeryLongFunction(), ::Integer, #Enum,
- * #DEFINE, #VERY_LONG_MACRO, #Variable, ::ENUMERATOR_0, Struct, a, and
+ * #DEFINE, #VERY_LONG_MACRO, #Variable, ::ENUMERATOR_0, Struct, #a, and
* interface.
*
* @param Param0 is parameter 0.