Skip to content

Commit 021798b

Browse files
authored
Merge pull request #46 from rust-embedded/faqs
Update FAQ to clarify `.data` does go in flash
2 parents c68f1b3 + 18ee62d commit 021798b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

faq.md

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

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

250251
In this example the uploaded software will occupy `2008` bytes of Flash.
251252

0 commit comments

Comments
 (0)