Skip to content

Commit 6edc58a

Browse files
evedoniriark01
andauthored
Update docs/program-setup/bare_metal/mbed2_porting.md
Co-Authored-By: Irit Arkin <[email protected]>
1 parent 316c76b commit 6edc58a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/program-setup/bare_metal/mbed2_porting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ For each toolchain, if there is enough memory to link with the standard library,
8585
}
8686
```
8787

88-
- It might be necessary to reduce the stack size allocated for your target if it does not have enough RAM. The stack size is configured by setting a value for the `boot-stack-size` attribute; this value must be a multiple of 8 for alignment purposes. By default all targets are configured to have a boot stack size of 0x1000 (4096 bytes) in bare metal. However, this must be overridden if inadequate for your target. We recommend to reduce the boot stack size to 0x400 (1024 bytes) if your target has 8KB of RAM and to 0x300 (768 bytes) if your target has 4KB of RAM.
88+
- By default, all bare metal targets are configured to have a boot stack size of 0x1000 (4,096 bytes). If this is too much for your target, you will need to override the stack allocation to match your target's available RAM.
89+
90+
The stack size is configured by setting a value for the `boot-stack-size` attribute; this value must be a multiple of 8 for alignment purposes. We recommend that you reduce the boot stack size to 0x400 (1,024 bytes) if your target has 8KB of RAM and to 0x300 (768 bytes) if your target has 4KB of RAM.
8991
```
9092
"overrides": {
9193
"boot-stack-size": "0x400"

0 commit comments

Comments
 (0)