From 1989917f7102f524f9ecdce1d675b21cf561617c Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 17 Jan 2017 01:18:23 +0800 Subject: [PATCH] docs: fix data RAM size Fixes https://github.com/espressif/esp-idf/issues/184 --- docs/general-notes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general-notes.rst b/docs/general-notes.rst index a683467007..6597337a1e 100644 --- a/docs/general-notes.rst +++ b/docs/general-notes.rst @@ -100,7 +100,7 @@ The code which has to run after wake-up from deep sleep mode has to be placed in DRAM (data RAM) ^^^^^^^^^^^^^^^ -Non-constant static data and zero-initialized data is placed by the linker into 200 kB ``0x3FFB0000 — 0x3FFF0000`` region. Note that this region is reduced by 64kB (by shifting start address to ``0x3FFC0000``) if Bluetooth stack is used. Length of this region is also reduced by 16 kB or 32kB if trace memory is used. All space which is left in this region after placing static data there is used for the runtime heap. +Non-constant static data and zero-initialized data is placed by the linker into the 256 kB ``0x3FFB0000 — 0x3FFF0000`` region. Note that this region is reduced by 64kB (by shifting start address to ``0x3FFC0000``) if Bluetooth stack is used. Length of this region is also reduced by 16 kB or 32kB if trace memory is used. All space which is left in this region after placing static data there is used for the runtime heap. Constant data may also be placed into DRAM, for example if it is used in an ISR handler (see notes in IRAM section above). To do that, ``DRAM_ATTR`` define can be used::