summaryrefslogtreecommitdiffstats
path: root/spec/acfg/opt/RTEMS-ACFG-OPT-MINTASKSTACKSIZE.yml
blob: 73ac9ac05790234b05800160bf2c36b7fe32a8c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
SPDX-License-Identifier: CC-BY-SA-4.0
active: true
appl-config-option-data-type: |
  Unsigned integer (``uint32_t``).
appl-config-option-default-value: |
  The default value is architecture-specific.
appl-config-option-description: |
  This configuration parameter defines the minimum stack size in bytes for
  every user task or thread in the system.
appl-config-option-index:
- minimum task stack size
appl-config-option-name: CONFIGURE_MINIMUM_TASK_STACK_SIZE
appl-config-option-notes: |
  Adjusting this parameter should be done with caution.  Examining the actual
  stack usage using the stack checker usage reporting facility is recommended
  (see also :ref:`CONFIGURE_STACK_CHECKER_ENABLED <CONFIGURE_STACK_CHECKER_ENABLED>`).

  This parameter can be used to lower the minimum from that recommended. This
  can be used in low memory systems to reduce memory consumption for
  stacks. However, this must be done with caution as it could increase the
  possibility of a blown task stack.

  This parameter can be used to increase the minimum from that
  recommended. This can be used in higher memory systems to reduce the risk
  of stack overflow without performing analysis on actual consumption.

  By default, this configuration parameter defines also the minimum stack
  size of POSIX threads.  This can be changed with the
  :ref:`CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE <CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE>`
  configuration option.

  In releases before RTEMS 5.1 the ``CONFIGURE_MINIMUM_TASK_STACK_SIZE`` was
  used to define the default value of :ref:`CONFIGURE_INTERRUPT_STACK_SIZE
  <CONFIGURE_INTERRUPT_STACK_SIZE>`.
appl-config-option-range: |
  Positive.
copyrights:
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
derived: false
enabled-by: []
header: ''
interface-type: appl-config-option
level: 1.78
links:
- RTEMS-ACFG-GENERAL: B6rbi_eXOZOzB3o8-DYzrc0JmF7ON1adlcZj3dQd6WY=
normative: true
ref: ''
reviewed: e_hpc4Dbm4NalBY8FjE7kEjFme9Q5n0ETd6mp6TGTKU=
text: ''
type: interface