Skip to content

Commit f9f44b6

Browse files
larochehenrikbrixandersen
authored andcommitted
doc: arch: fix typo in arm_cortex_m.rst
fix typo in arm_cortex_m.rst Signed-off-by: Florian La Roche <[email protected]>
1 parent f39106c commit f9f44b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/hardware/arch/arm_cortex_m.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Thread stack alignment
9999
Each Zephyr thread is defined with its own stack memory. By default, Cortex-M enforces a double word thread stack alignment, see
100100
:kconfig:option:`CONFIG_STACK_ALIGN_DOUBLE_WORD`. If MPU-based HW-assisted stack overflow detection (:kconfig:option:`CONFIG_MPU_STACK_GUARD`)
101101
is enabled, thread stacks need to be aligned with a larger value, reflected by :kconfig:option:`CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE`.
102-
In Arm v6-M and Arm v7-M architecture variants, thread stacks are additionally required to be align with a value equal to their size,
102+
In Arm v6-M and Arm v7-M architecture variants, thread stacks are additionally required to align with a value equal to their size,
103103
in applications that need to support user mode (:kconfig:option:`CONFIG_USERSPACE`). The thread stack sizes in that case need to be a power
104104
of two. This is all reflected by :kconfig:option:`CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT`, that is enforced in Arm v6-M and Arm v7-M
105105
builds with user mode support.

0 commit comments

Comments
 (0)