diff options
Diffstat (limited to '')
53 files changed, 284 insertions, 230 deletions
diff --git a/rtemsqual/applconfig.py b/rtemsqual/applconfig.py index 80c27d9a..e6dcbc58 100644 --- a/rtemsqual/applconfig.py +++ b/rtemsqual/applconfig.py @@ -90,30 +90,30 @@ def _start_constraint_list(lines: List[str]) -> None: lines.append("constraints:") -def _generate_item_min(lines: List[str], constraint: Dict[str, Any]) -> None: - if "min" in constraint: - value = constraint["min"] +def _generate_item_min(lines: List[str], constraints: Dict[str, Any]) -> None: + if "min" in constraints: + value = constraints["min"] lines.append("") lines.append(f"* It shall be greater than or equal to {value}.") -def _generate_item_max(lines: List[str], constraint: Dict[str, Any]) -> None: - if "max" in constraint: - value = constraint["max"] +def _generate_item_max(lines: List[str], constraints: Dict[str, Any]) -> None: + if "max" in constraints: + value = constraints["max"] lines.append("") lines.append(f"* It shall be less than or equal to {value}.") -def _generate_item_set(lines: List[str], constraint: Dict[str, Any]) -> None: - if "set" in constraint: - value_set = constraint["set"] +def _generate_item_set(lines: List[str], constraints: Dict[str, Any]) -> None: + if "set" in constraints: + value_set = constraints["set"] lines.append("") lines.append(f"* It shall be an element of {value_set}.") -def _generate_item_custom(lines: List[str], constraint: Dict[str, - Any]) -> None: - for custom in constraint.get("custom", []): +def _generate_item_custom(lines: List[str], constraints: Dict[str, + Any]) -> None: + for custom in constraints.get("custom", []): lines.append("") custom = custom.replace("The value of this configuration option", "It") custom = custom.strip().split("\n") @@ -122,46 +122,46 @@ def _generate_item_custom(lines: List[str], constraint: Dict[str, def _resolve_constraint_links(content: SphinxContent, item: Item, - constraint: Dict[str, Any]) -> None: - if "links" in constraint: - if "custom" not in constraint: - constraint["custom"] = [] - for link in reversed(constraint["links"]): - other = item.map(link) - content.register_license_and_copyrights_of_item(other) - constraint["custom"].append(other["text"]) + constraints: Dict[str, Any]) -> None: + texts = [] # type: List[str] + for link in item.links_to_parents(): + if link.role == "constraint": + content.register_license_and_copyrights_of_item(link.item) + texts.append(link.item["text"]) + if texts: + constraints.setdefault("custom", []).extend(reversed(texts)) def _generate_constraint(content: SphinxContent, item: Item) -> None: - constraint = item["constraints"] - count = len(constraint) + constraints = item["constraints"] + _resolve_constraint_links(content, item, constraints) lines = [] # type: List[str] - _resolve_constraint_links(content, item, constraint) + count = len(constraints) if count == 1: - if "min" in constraint: - _generate_min_max(lines, constraint["min"], "greater") - elif "max" in constraint: - _generate_min_max(lines, constraint["max"], "less") - elif "set" in constraint: - _generate_set(lines, constraint["set"]) - elif "custom" in constraint: - if len(constraint["custom"]) == 1: - lines.extend(constraint["custom"][0].strip().split("\n")) + if "min" in constraints: + _generate_min_max(lines, constraints["min"], "greater") + elif "max" in constraints: + _generate_min_max(lines, constraints["max"], "less") + elif "set" in constraints: + _generate_set(lines, constraints["set"]) + elif "custom" in constraints: + if len(constraints["custom"]) == 1: + lines.extend(constraints["custom"][0].strip().split("\n")) else: _start_constraint_list(lines) - _generate_item_custom(lines, constraint) - elif count == 2 and "min" in constraint and "max" in constraint: - minimum = constraint["min"] - maximum = constraint["max"] + _generate_item_custom(lines, constraints) + elif count == 2 and "min" in constraints and "max" in constraints: + minimum = constraints["min"] + maximum = constraints["max"] lines.append("The value of this configuration option shall be " f"greater than or equal to {minimum}") lines.append(f"and less than or equal to {maximum}.") else: _start_constraint_list(lines) - _generate_item_min(lines, constraint) - _generate_item_max(lines, constraint) - _generate_item_set(lines, constraint) - _generate_item_custom(lines, constraint) + _generate_item_min(lines, constraints) + _generate_item_max(lines, constraints) + _generate_item_set(lines, constraints) + _generate_item_custom(lines, constraints) content.add_definition_item("VALUE CONSTRAINTS:", lines) diff --git a/rtemsqual/tests/spec-applconfig/c.yml b/rtemsqual/tests/spec-applconfig/c.yml index 2092b227..e673637f 100644 --- a/rtemsqual/tests/spec-applconfig/c.yml +++ b/rtemsqual/tests/spec-applconfig/c.yml @@ -1,23 +1,23 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: custom: - custom c 1 - custom c 2 - links: - - d max: 99 min: -1 -default-value: 13 -description: description c -index-entries: [] -name: c -notes: notes c -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 13 +description: description c enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +- role: constraint + uid: d +name: c +notes: notes c type: interface diff --git a/rtemsqual/tests/spec-applconfig/e.yml b/rtemsqual/tests/spec-applconfig/e.yml index b79a00b6..0668de12 100644 --- a/rtemsqual/tests/spec-applconfig/e.yml +++ b/rtemsqual/tests/spec-applconfig/e.yml @@ -1,17 +1,17 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: min: -2 -default-value: 7 -description: description e -index-entries: [] -name: e -notes: null -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 7 +description: description e enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: e +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/f.yml b/rtemsqual/tests/spec-applconfig/f.yml index 09602a7b..5de93c19 100644 --- a/rtemsqual/tests/spec-applconfig/f.yml +++ b/rtemsqual/tests/spec-applconfig/f.yml @@ -1,17 +1,17 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: max: 2 -default-value: 1 -description: description f -index-entries: [] -name: f -notes: null -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 1 +description: description f enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: f +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/h.yml b/rtemsqual/tests/spec-applconfig/h.yml index 75a19567..111c1815 100644 --- a/rtemsqual/tests/spec-applconfig/h.yml +++ b/rtemsqual/tests/spec-applconfig/h.yml @@ -1,18 +1,18 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: custom: - custom h -default-value: 1 -description: description h -index-entries: [] -name: h -notes: null -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 1 +description: description h enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: h +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/i.yml b/rtemsqual/tests/spec-applconfig/i.yml index 68292519..68a0a12e 100644 --- a/rtemsqual/tests/spec-applconfig/i.yml +++ b/rtemsqual/tests/spec-applconfig/i.yml @@ -1,20 +1,20 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: set: - 1 - 2 - 3 -default-value: 1 -description: description i -index-entries: [] -name: i -notes: null -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 1 +description: description i enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: i +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/j.yml b/rtemsqual/tests/spec-applconfig/j.yml index e2bf8926..b475a0e3 100644 --- a/rtemsqual/tests/spec-applconfig/j.yml +++ b/rtemsqual/tests/spec-applconfig/j.yml @@ -1,21 +1,21 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: - links: - - d set: - 1 - 2 -default-value: Foo bar. -description: description j -index-entries: [] -name: j -notes: null -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: Foo bar. +description: description j enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +- role: constraint + uid: d +name: j +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/k.yml b/rtemsqual/tests/spec-applconfig/k.yml index 57feca3a..d08594ef 100644 --- a/rtemsqual/tests/spec-applconfig/k.yml +++ b/rtemsqual/tests/spec-applconfig/k.yml @@ -1,19 +1,19 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: integer constraints: custom: - custom k 1 - custom k 2 -default-value: 1 -description: description k -index-entries: [] -name: k -notes: null -appl-config-option-type: integer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 1 +description: description k enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: k +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/l.yml b/rtemsqual/tests/spec-applconfig/l.yml index 43922e7d..6b57fa14 100644 --- a/rtemsqual/tests/spec-applconfig/l.yml +++ b/rtemsqual/tests/spec-applconfig/l.yml @@ -1,18 +1,18 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: initializer constraints: max: 2 min: 0 -default-value: 1 -description: description l -index-entries: [] -name: l -notes: null -appl-config-option-type: initializer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 1 +description: description l enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: l +notes: null type: interface diff --git a/rtemsqual/tests/spec-applconfig/m.yml b/rtemsqual/tests/spec-applconfig/m.yml index dc0a28a9..20b6b886 100644 --- a/rtemsqual/tests/spec-applconfig/m.yml +++ b/rtemsqual/tests/spec-applconfig/m.yml @@ -1,17 +1,17 @@ SPDX-License-Identifier: CC-BY-SA-4.0 +appl-config-option-type: initializer constraints: some: garbage -default-value: 1 -description: description m -index-entries: [] -name: m -notes: null -appl-config-option-type: initializer copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default-value: 1 +description: description m enabled-by: true +index-entries: [] interface-type: appl-config-option links: - role: null uid: g +name: m +notes: null type: interface diff --git a/spec/acfg/opt/atadrivertaskpriority.yml b/spec/acfg/opt/atadrivertaskpriority.yml index 914c8b65..5ab007a3 100644 --- a/spec/acfg/opt/atadrivertaskpriority.yml +++ b/spec/acfg/opt/atadrivertaskpriority.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintprioclassic +constraints: {} copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default-value: 140 @@ -14,6 +12,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../devdrv +- role: constraint + uid: constraintprioclassic name: CONFIGURE_ATA_DRIVER_TASK_PRIORITY notes: | This configuration option is only evaluated if the configuration option diff --git a/spec/acfg/opt/bdbufreadaheadtaskpriority.yml b/spec/acfg/opt/bdbufreadaheadtaskpriority.yml index ce871387..b504e5d0 100644 --- a/spec/acfg/opt/bdbufreadaheadtaskpriority.yml +++ b/spec/acfg/opt/bdbufreadaheadtaskpriority.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintprioclassic +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: 15 @@ -14,6 +12,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../bdbuf +- role: constraint + uid: constraintprioclassic name: CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY notes: null text: '' diff --git a/spec/acfg/opt/bdbuftaskstacksize.yml b/spec/acfg/opt/bdbuftaskstacksize.yml index 60bc187e..e9be11bc 100644 --- a/spec/acfg/opt/bdbuftaskstacksize.yml +++ b/spec/acfg/opt/bdbuftaskstacksize.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintstackspace - - /acfg/opt/constraintmemsz min: :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE` copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -17,6 +14,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../bdbuf +- role: constraint + uid: constraintstackspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_BDBUF_TASK_STACK_SIZE notes: null text: '' diff --git a/spec/acfg/opt/bspidletaskstacksize.yml b/spec/acfg/opt/bspidletaskstacksize.yml index e01bc2e2..62cc7d24 100644 --- a/spec/acfg/opt/bspidletaskstacksize.yml +++ b/spec/acfg/opt/bspidletaskstacksize.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintidlestackarea - - /acfg/opt/constraintbspappmin +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: | @@ -23,6 +20,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../bsp +- role: constraint + uid: constraintidlestackarea +- role: constraint + uid: constraintbspappmin name: BSP_IDLE_TASK_STACK_SIZE notes: null text: '' diff --git a/spec/acfg/opt/bspinterruptstacksize.yml b/spec/acfg/opt/bspinterruptstacksize.yml index 4b3dacbb..03a4b7f1 100644 --- a/spec/acfg/opt/bspinterruptstacksize.yml +++ b/spec/acfg/opt/bspinterruptstacksize.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintisrstackalign - - /acfg/opt/constraintisrstackarea - - /acfg/opt/constraintbspappmin +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: | @@ -24,6 +20,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../bsp +- role: constraint + uid: constraintisrstackalign +- role: constraint + uid: constraintisrstackarea +- role: constraint + uid: constraintbspappmin name: BSP_INTERRUPT_STACK_SIZE notes: null text: '' diff --git a/spec/acfg/opt/cbsmaximumservers.yml b/spec/acfg/opt/cbsmaximumservers.yml index f0bdb221..28f6e3da 100644 --- a/spec/acfg/opt/cbsmaximumservers.yml +++ b/spec/acfg/opt/cbsmaximumservers.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintmemsz max: '``SIZE_MAX``' min: 0 copyrights: @@ -17,6 +15,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../schedgeneral +- role: constraint + uid: constraintmemsz name: CONFIGURE_CBS_MAXIMUM_SERVERS notes: | This configuration option is only evaluated if the configuration option diff --git a/spec/acfg/opt/executiveramsize.yml b/spec/acfg/opt/executiveramsize.yml index bca82437..10513a11 100644 --- a/spec/acfg/opt/executiveramsize.yml +++ b/spec/acfg/opt/executiveramsize.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintmemsz max: '``UINTPTR_MAX``' min: 0 copyrights: @@ -20,6 +18,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintmemsz name: CONFIGURE_EXECUTIVE_RAM_SIZE notes: | This is an advanced configuration option. Use it only if you know exactly diff --git a/spec/acfg/opt/extrataskstacks.yml b/spec/acfg/opt/extrataskstacks.yml index 74881eea..a71fbe3d 100644 --- a/spec/acfg/opt/extrataskstacks.yml +++ b/spec/acfg/opt/extrataskstacks.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintstackspace min: 0 copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -18,6 +16,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintstackspace name: CONFIGURE_EXTRA_TASK_STACKS notes: | This parameter is very important. If the application creates tasks with diff --git a/spec/acfg/opt/idletaskstacksize.yml b/spec/acfg/opt/idletaskstacksize.yml index 6539a78f..2305b28f 100644 --- a/spec/acfg/opt/idletaskstacksize.yml +++ b/spec/acfg/opt/idletaskstacksize.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintidlestackarea - - /acfg/opt/constraintbspappmin +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE` @@ -16,6 +13,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../idle +- role: constraint + uid: constraintidlestackarea +- role: constraint + uid: constraintbspappmin name: CONFIGURE_IDLE_TASK_STACK_SIZE notes: | In SMP configurations, there is one IDLE task per configured processor, see diff --git a/spec/acfg/opt/inittaskpriority.yml b/spec/acfg/opt/inittaskpriority.yml index be70feb6..b9e6f555 100644 --- a/spec/acfg/opt/inittaskpriority.yml +++ b/spec/acfg/opt/inittaskpriority.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintprioclassic +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: 1 @@ -15,6 +13,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classicinit +- role: constraint + uid: constraintprioclassic name: CONFIGURE_INIT_TASK_PRIORITY notes: null text: '' diff --git a/spec/acfg/opt/inittaskstacksize.yml b/spec/acfg/opt/inittaskstacksize.yml index 19c4d7cb..28340152 100644 --- a/spec/acfg/opt/inittaskstacksize.yml +++ b/spec/acfg/opt/inittaskstacksize.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintstackspace min: :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE` copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -16,6 +14,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classicinit +- role: constraint + uid: constraintstackspace name: CONFIGURE_INIT_TASK_STACK_SIZE notes: null text: '' diff --git a/spec/acfg/opt/interruptstacksize.yml b/spec/acfg/opt/interruptstacksize.yml index 1d51352e..c2208d01 100644 --- a/spec/acfg/opt/interruptstacksize.yml +++ b/spec/acfg/opt/interruptstacksize.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintisrstackalign - - /acfg/opt/constraintisrstackarea - - /acfg/opt/constraintbspappmin +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: | @@ -20,6 +16,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintisrstackalign +- role: constraint + uid: constraintisrstackarea +- role: constraint + uid: constraintbspappmin name: CONFIGURE_INTERRUPT_STACK_SIZE notes: | There is one interrupt stack available for each configured processor diff --git a/spec/acfg/opt/maxbarriers.yml b/spec/acfg/opt/maxbarriers.yml index 3f39c3d7..b966e80a 100644 --- a/spec/acfg/opt/maxbarriers.yml +++ b/spec/acfg/opt/maxbarriers.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_BARRIERS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxdrivers.yml b/spec/acfg/opt/maxdrivers.yml index 9b811c56..b313dc8b 100644 --- a/spec/acfg/opt/maxdrivers.yml +++ b/spec/acfg/opt/maxdrivers.yml @@ -5,8 +5,6 @@ constraints: - | It shall be greater than or equal than the number of statically configured device drivers. - links: - - /acfg/opt/constraintmemsz max: '``SIZE_MAX``' copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -22,6 +20,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../devdrv +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_DRIVERS notes: | If the application will dynamically install device drivers, then this diff --git a/spec/acfg/opt/maxfiledescriptors.yml b/spec/acfg/opt/maxfiledescriptors.yml index aecb9c17..7887a0b5 100644 --- a/spec/acfg/opt/maxfiledescriptors.yml +++ b/spec/acfg/opt/maxfiledescriptors.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintmemsz max: '``SIZE_MAX``' min: 0 copyrights: @@ -18,6 +16,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_FILE_DESCRIPTORS notes: | The default value of three file descriptors allows RTEMS to support standard diff --git a/spec/acfg/opt/maxmessagequeues.yml b/spec/acfg/opt/maxmessagequeues.yml index 1b6b5a24..8091f0c4 100644 --- a/spec/acfg/opt/maxmessagequeues.yml +++ b/spec/acfg/opt/maxmessagequeues.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_MESSAGE_QUEUES notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxpartitions.yml b/spec/acfg/opt/maxpartitions.yml index fb9fcd5d..5b5fb30c 100644 --- a/spec/acfg/opt/maxpartitions.yml +++ b/spec/acfg/opt/maxpartitions.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_PARTITIONS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxperiods.yml b/spec/acfg/opt/maxperiods.yml index f8bf50a5..ff3ffb69 100644 --- a/spec/acfg/opt/maxperiods.yml +++ b/spec/acfg/opt/maxperiods.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_PERIODS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxports.yml b/spec/acfg/opt/maxports.yml index 0ccb8c72..25769311 100644 --- a/spec/acfg/opt/maxports.yml +++ b/spec/acfg/opt/maxports.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_PORTS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixkeys.yml b/spec/acfg/opt/maxposixkeys.yml index b3973715..ae7af705 100644 --- a/spec/acfg/opt/maxposixkeys.yml +++ b/spec/acfg/opt/maxposixkeys.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_KEYS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixkeyvaluepairs.yml b/spec/acfg/opt/maxposixkeyvaluepairs.yml index 3a947f44..b6ac72c9 100644 --- a/spec/acfg/opt/maxposixkeyvaluepairs.yml +++ b/spec/acfg/opt/maxposixkeyvaluepairs.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -22,6 +19,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixmessagequeues.yml b/spec/acfg/opt/maxposixmessagequeues.yml index 96a45d7e..fe0afbc9 100644 --- a/spec/acfg/opt/maxposixmessagequeues.yml +++ b/spec/acfg/opt/maxposixmessagequeues.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintwkspace - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -19,6 +15,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintwkspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixqueuedsignals.yml b/spec/acfg/opt/maxposixqueuedsignals.yml index 605666d7..a6c2fda1 100644 --- a/spec/acfg/opt/maxposixqueuedsignals.yml +++ b/spec/acfg/opt/maxposixqueuedsignals.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintposix - - /acfg/opt/constraintwkspace - - /acfg/opt/constraintmemsz min: 0 copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -18,6 +14,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintposix +- role: constraint + uid: constraintwkspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS notes: | Unlimited objects are not available for queued signals. diff --git a/spec/acfg/opt/maxposixsemaphores.yml b/spec/acfg/opt/maxposixsemaphores.yml index 4d1a691f..755d5441 100644 --- a/spec/acfg/opt/maxposixsemaphores.yml +++ b/spec/acfg/opt/maxposixsemaphores.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintwkspace - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -19,6 +15,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintwkspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_SEMAPHORES notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixshms.yml b/spec/acfg/opt/maxposixshms.yml index 6b0c6dbd..b46687ac 100644 --- a/spec/acfg/opt/maxposixshms.yml +++ b/spec/acfg/opt/maxposixshms.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintwkspace - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -19,6 +15,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintwkspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_SHMS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixthreads.yml b/spec/acfg/opt/maxposixthreads.yml index c304de6d..ede4cbe0 100644 --- a/spec/acfg/opt/maxposixthreads.yml +++ b/spec/acfg/opt/maxposixthreads.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintstackspace - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintstackspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_THREADS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxposixtimers.yml b/spec/acfg/opt/maxposixtimers.yml index 31208641..cdb8487a 100644 --- a/spec/acfg/opt/maxposixtimers.yml +++ b/spec/acfg/opt/maxposixtimers.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintposix - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -19,6 +15,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintposix +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_POSIX_TIMERS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxregions.yml b/spec/acfg/opt/maxregions.yml index c98ae27a..ab86045e 100644 --- a/spec/acfg/opt/maxregions.yml +++ b/spec/acfg/opt/maxregions.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_REGIONS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxsemaphores.yml b/spec/acfg/opt/maxsemaphores.yml index 5b7349b5..3e31a88c 100644 --- a/spec/acfg/opt/maxsemaphores.yml +++ b/spec/acfg/opt/maxsemaphores.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_SEMAPHORES notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxtasks.yml b/spec/acfg/opt/maxtasks.yml index 98840903..2724916c 100644 --- a/spec/acfg/opt/maxtasks.yml +++ b/spec/acfg/opt/maxtasks.yml @@ -1,10 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintstackspace - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -19,6 +15,12 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintstackspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_TASKS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxthreadnamesize.yml b/spec/acfg/opt/maxthreadnamesize.yml index f1fd0ac4..cfc38894 100644 --- a/spec/acfg/opt/maxthreadnamesize.yml +++ b/spec/acfg/opt/maxthreadnamesize.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintmemsz max: '``SIZE_MAX``' min: 0 copyrights: @@ -18,6 +16,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_THREAD_NAME_SIZE notes: | The default value was chosen for Linux compatibility, see diff --git a/spec/acfg/opt/maxtimers.yml b/spec/acfg/opt/maxtimers.yml index 43814f94..bfd35040 100644 --- a/spec/acfg/opt/maxtimers.yml +++ b/spec/acfg/opt/maxtimers.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintunlimited - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintunlimited +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_TIMERS notes: | This object class can be configured in unlimited allocation mode, see diff --git a/spec/acfg/opt/maxuserextensions.yml b/spec/acfg/opt/maxuserextensions.yml index 638b58d5..a02d66c3 100644 --- a/spec/acfg/opt/maxuserextensions.yml +++ b/spec/acfg/opt/maxuserextensions.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintmemsz max: 65535 min: 0 copyrights: @@ -17,6 +15,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../classic +- role: constraint + uid: constraintmemsz name: CONFIGURE_MAXIMUM_USER_EXTENSIONS notes: | This object class cannot be configured in unlimited allocation mode. diff --git a/spec/acfg/opt/memoryoverhead.yml b/spec/acfg/opt/memoryoverhead.yml index bf0935cf..7dc84acc 100644 --- a/spec/acfg/opt/memoryoverhead.yml +++ b/spec/acfg/opt/memoryoverhead.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintwkspace - - /acfg/opt/constraintmemsz min: 0 copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -18,6 +15,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintwkspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MEMORY_OVERHEAD notes: | This configuration option should only be used when it is suspected that a bug diff --git a/spec/acfg/opt/messagebuffermemory.yml b/spec/acfg/opt/messagebuffermemory.yml index 457eb72c..6c4b9af9 100644 --- a/spec/acfg/opt/messagebuffermemory.yml +++ b/spec/acfg/opt/messagebuffermemory.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintwkspace - - /acfg/opt/constraintmemsz min: 0 copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -20,6 +17,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintwkspace +- role: constraint + uid: constraintmemsz name: CONFIGURE_MESSAGE_BUFFER_MEMORY notes: | The configuration options :ref:`CONFIGURE_MAXIMUM_MESSAGE_QUEUES` and diff --git a/spec/acfg/opt/minposixthreadstacksize.yml b/spec/acfg/opt/minposixthreadstacksize.yml index 94c69016..a9ba5b47 100644 --- a/spec/acfg/opt/minposixthreadstacksize.yml +++ b/spec/acfg/opt/minposixthreadstacksize.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintbspappmin - - /acfg/opt/constraintstackspace +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: | @@ -19,6 +16,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posix +- role: constraint + uid: constraintbspappmin +- role: constraint + uid: constraintstackspace name: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE notes: null text: '' diff --git a/spec/acfg/opt/mintaskstacksize.yml b/spec/acfg/opt/mintaskstacksize.yml index 67334562..11584550 100644 --- a/spec/acfg/opt/mintaskstacksize.yml +++ b/spec/acfg/opt/mintaskstacksize.yml @@ -1,9 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintbspappmin - - /acfg/opt/constraintstackspace +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: '``CPU_STACK_MINIMUM_SIZE``' @@ -17,6 +14,10 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../general +- role: constraint + uid: constraintbspappmin +- role: constraint + uid: constraintstackspace name: CONFIGURE_MINIMUM_TASK_STACK_SIZE notes: | Adjusting this parameter should be done with caution. Examining the actual diff --git a/spec/acfg/opt/posixinitthreadstacksize.yml b/spec/acfg/opt/posixinitthreadstacksize.yml index d7213fa0..5125d2a3 100644 --- a/spec/acfg/opt/posixinitthreadstacksize.yml +++ b/spec/acfg/opt/posixinitthreadstacksize.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer constraints: - links: - - /acfg/opt/constraintstackspace min: :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE` copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) @@ -16,6 +14,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../posixinit +- role: constraint + uid: constraintstackspace name: CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE notes: null text: '' diff --git a/spec/acfg/opt/recordperprocessoritems.yml b/spec/acfg/opt/recordperprocessoritems.yml index 6caeaaf0..35e501e1 100644 --- a/spec/acfg/opt/recordperprocessoritems.yml +++ b/spec/acfg/opt/recordperprocessoritems.yml @@ -3,8 +3,6 @@ appl-config-option-type: integer constraints: custom: - It shall be a power of two. - links: - - /acfg/opt/constraintmemsz max: '``SIZE_MAX``' min: 16 copyrights: @@ -19,6 +17,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../eventrecord +- role: constraint + uid: constraintmemsz name: CONFIGURE_RECORD_PER_PROCESSOR_ITEMS notes: | The event record buffers are statically allocated for each configured diff --git a/spec/acfg/opt/swapouttaskpriority.yml b/spec/acfg/opt/swapouttaskpriority.yml index 01faf17f..75f45a7b 100644 --- a/spec/acfg/opt/swapouttaskpriority.yml +++ b/spec/acfg/opt/swapouttaskpriority.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintprioclassic +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: 15 @@ -14,6 +12,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../bdbuf +- role: constraint + uid: constraintprioclassic name: CONFIGURE_SWAPOUT_TASK_PRIORITY notes: null text: '' diff --git a/spec/acfg/opt/swapoutworkertaskpriority.yml b/spec/acfg/opt/swapoutworkertaskpriority.yml index 25ca935e..e2e7ec60 100644 --- a/spec/acfg/opt/swapoutworkertaskpriority.yml +++ b/spec/acfg/opt/swapoutworkertaskpriority.yml @@ -1,8 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 appl-config-option-type: integer -constraints: - links: - - /acfg/opt/constraintprioclassic +constraints: {} copyrights: - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) default-value: 15 @@ -15,6 +13,8 @@ interface-type: appl-config-option links: - role: appl-config-group-member uid: ../bdbuf +- role: constraint + uid: constraintprioclassic name: CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY notes: null text: '' diff --git a/spec/spec/appl-config-option-constraints.yml b/spec/spec/appl-config-option-constraints.yml index c93a1c7a..acbca0a5 100644 --- a/spec/spec/appl-config-option-constraints.yml +++ b/spec/spec/appl-config-option-constraints.yml @@ -14,10 +14,6 @@ spec-info: description: | This attribute defines a list of constraints. spec-type: list-str - links: - description: | - This attribute shall list links to constraints. - spec-type: list-uid max: description: | This attribute defines the maximum value. @@ -32,7 +28,8 @@ spec-info: spec-type: list-int-or-str description: | This set of attributes defines application configuration option - constraints. + constraints. Additional constraints can be added through the links of + the item using the :ref:`SpecTypeConstraintLinkRole`. required-attributes: none spec-name: Application Configuration Option Constraint Set spec-type: appl-config-option-constraints diff --git a/spec/spec/constraint.yml b/spec/spec/constraint.yml new file mode 100644 index 00000000..446c97f8 --- /dev/null +++ b/spec/spec/constraint.yml @@ -0,0 +1,23 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: spec-member + uid: root +- role: spec-refinement + spec-key: role + spec-value: constraint + uid: link +spec-description: null +spec-example: null +spec-info: + dict: + attributes: {} + description: | + It defines the constraint role of links. The link target shall be a + constraint. + required-attributes: all +spec-name: Constraint Link Role +spec-type: constraint +type: spec |