Skip to content

Commit 2863781

Browse files
authored
Merge pull request #47 from rust-embedded/data-flash-ram
clarified why .data is listed as both ROM and RAM in the FAQ
2 parents 021798b + 081c6f0 commit 2863781

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ Total 555960
245245
Of the standard sections, `.vector_table`, `.text`, `.rodata` and `.data` will
246246
occupy Flash / ROM; `.bss` and `.data` will occupy RAM; `.debug_*`,
247247
`.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
248+
the target device memory. (`.data` is initially placed in
249+
Flash / ROM, but copied to RAM during startup to make it writable.) For the other sections you'll have to check your
249250
dependencies' docs.
250251

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

0 commit comments

Comments
 (0)