Skip to content

Commit d791b97

Browse files
authored
Fix discussion of flash/ram sections
Fix which sections of binary belong to Flash/ROM vs RAM
2 parents 101b65d + fc6b97e commit d791b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ section size addr
242242
Total 555960
243243
```
244244

245-
Of the standard sections, `.text`, `.rodata` and `.data` will occupy Flash /
245+
Of the standard sections, `vector_table`, `.text`, `.rodata` will occupy Flash /
246246
ROM; `.bss` and `.data` will occupy RAM; `.debug_*`, `.ARM.attributes` and
247247
`.comments` can be ignored as they won't be loaded into the target device
248248
memory. For the other sections you'll have to check your dependencies' docs.
249249

250-
In this examples the program will occupy `2008` bytes of Flash.
250+
In this example the uploaded software will occupy `2008` bytes of Flash.
251251

252252
Note that most (all?) runtime crates, like `cortex-m-rt`, will check at link
253253
time that the program fits in the target device memory. If it doesn't fit you'll

0 commit comments

Comments
 (0)