How to modify IRAM size

ronnie.zyd
Posts: 2
Joined: Thu Jun 18, 2020 1:47 pm

How to modify IRAM size

Postby ronnie.zyd » Thu Jun 18, 2020 2:00 pm

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!

ronnie.zyd
Posts: 2
Joined: Thu Jun 18, 2020 1:47 pm

Re: How to modify IRAM size

Postby ronnie.zyd » Fri Jun 19, 2020 2:34 am

Remove build/ and use idf.py build to rebuild, it worked.

ashrafkamel5
Posts: 3
Joined: Sun Jan 10, 2021 11:49 pm

Re: How to modify IRAM size

Postby ashrafkamel5 » Mon Jan 11, 2021 12:11 am

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?

Who is online

Users browsing this forum: meta-externalagent and 11 guests