From 081c6f0b1907b71be75ffc5fd953e2941241be29 Mon Sep 17 00:00:00 2001 From: Bart Massey Date: Mon, 27 Oct 2025 17:12:39 -0700 Subject: [PATCH] clarified why .data is listed as both ROM and RAM in the FAQ --- faq.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/faq.md b/faq.md index 3833ab6..2b2d918 100644 --- a/faq.md +++ b/faq.md @@ -245,7 +245,8 @@ Total 555960 Of the standard sections, `.vector_table`, `.text`, `.rodata` and `.data` will occupy Flash / ROM; `.bss` and `.data` will occupy RAM; `.debug_*`, `.ARM.attributes` and `.comments` can be ignored as they won't be loaded into -the target device memory. For the other sections you'll have to check your +the target device memory. (`.data` is initially placed in +Flash / ROM, but copied to RAM during startup to make it writable.) For the other sections you'll have to check your dependencies' docs. In this example the uploaded software will occupy `2008` bytes of Flash.