summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-15 18:57:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-16 13:57:51 +0100
commit5d102aaec71f6e7e03c2a7d0bdc82c573891af13 (patch)
tree02c04dc9094bd3c7d08194b22936d67902630db6
parentspec: Fix default value description (diff)
downloadrtems-central-5d102aaec71f6e7e03c2a7d0bdc82c573891af13.tar.bz2
interface: Support constraints for defines
-rw-r--r--rtemsspec/interface.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index 7c303f35..3a77409b 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -218,6 +218,7 @@ def _get_register_name(definition: Dict[str, Any]) -> Tuple[str, str]:
_CONSTRAINT_TARGET = {
"interface/function": "this directive",
+ "interface/define": "this constant",
"interface/macro": "this directive",
"interface/typedef": "functions of this type",
}