Skip to content

Commit 081c6f0

Browse files
committed
clarified why .data is listed as both ROM and RAM in the FAQ
1 parent 021798b commit 081c6f0

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)