summaryrefslogtreecommitdiffstats
path: root/spec/acfg/if/task-stack-from-alloc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acfg/if/task-stack-from-alloc.yml')
-rw-r--r--spec/acfg/if/task-stack-from-alloc.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/acfg/if/task-stack-from-alloc.yml b/spec/acfg/if/task-stack-from-alloc.yml
new file mode 100644
index 00000000..7b3e6c31
--- /dev/null
+++ b/spec/acfg/if/task-stack-from-alloc.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: initializer
+constraints:
+ texts:
+ - |
+ The value of this configuration option shall be defined to a macro which
+ accepts exactly one parameter and returns an unsigned integer. The
+ parameter will be an allocation size and the macro shall return this size
+ plus the overhead of the allocator to manage an allocation request for this
+ size.
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default-value: |
+ The default value is a macro which supports the system heap allocator.
+description: |
+ The value of this configuration option is used to calculate the task stack
+ space size.
+enabled-by: true
+index-entries:
+- task stack allocator
+interface-type: appl-config-option
+links:
+- role: appl-config-group-member
+ uid: group-stackalloc
+name: CONFIGURE_TASK_STACK_FROM_ALLOCATOR
+notes: |
+ This configuration option may be used if a custom task stack allocator is
+ configured, see ${task-stack-allocator:/name}.
+text: ''
+type: interface