use (swap) static IRAM for static DRAM
Posted: Wed Apr 18, 2018 2:11 pm
Hi everybody,
If I ask "make size" for my project I have the following:
I would like to use some of the static IRAM for DRAM. How can I do this? Or, is there a pragma for the compiler to inform that a variable (not a function) should be allocated in IRAM segment?
Thanks
If I ask "make size" for my project I have the following:
Code: Select all
Total sizes:
DRAM .data size: 16444 bytes
DRAM .bss size: 74192 bytes
Used static DRAM: 90636 bytes ( 24564 available, 78.7% used)
Used static IRAM: 85692 bytes ( 45380 available, 65.4% used)
Flash code: 747670 bytes
Flash rodata: 198844 bytes
Total image size:~1048650 bytes (.bin may be padded larger)
Thanks