I tried to modify esp32.ld as below
/* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
iram0_0_seg (RX) : org = 0x40080000, len = 0x10000
and macro in soc.h
#define SOC_IRAM_HIGH 0x400A0000
#define SOC_DIRAM_IRAM_LOW 0x400A0000
but it doesn't work. I use idf.py size-components to check the total size of IRAM, but it has no change.
Could anyone help me? Thanks a lot!
How to modify IRAM size
-
ronnie.zyd
- Posts: 2
- Joined: Thu Jun 18, 2020 1:47 pm
-
ashrafkamel5
- Posts: 3
- Joined: Sun Jan 10, 2021 11:49 pm
Re: How to modify IRAM size
Hi @ronnie.zyd
I am facing a similar problem but at earlier stage.
I don't know what to change to be able to modify the DRAM Segments and get more RAM in the static allocation segment.
but you seemed to manage to do so.
Can you offer some help?
How did you know what files and what values to change?
I am facing a similar problem but at earlier stage.
I don't know what to change to be able to modify the DRAM Segments and get more RAM in the static allocation segment.
but you seemed to manage to do so.
Can you offer some help?
How did you know what files and what values to change?
Who is online
Users browsing this forum: Bytespider, PetalBot and 9 guests