fjpanag commented on pull request #2277:
URL: https://github.com/apache/incubator-nuttx/pull/2277#issuecomment-744558534
Hi @hartmannathan,
I am sorry that there is no progress on this, but I have limited free time
lately.
I am thinking of having the number of heap regions defined either in
Kconfig, or in `board.h`.
Then, the linkerscript shall define each region as heap1, heap2 etc. Like:
```
.heap1 (NOLOAD) : ALIGN(4) {
_sheap1 = ABSOLUTE(.);
. = ORIGIN(h1ram) + LENGTH(h1ram);
. = ALIGN(4);
_eheap1 = ABSOLUTE(.);
} > h1ram
```
This way the user will be able to set up any memory layout that they like,
with multiple heap regions in arbitrary positions.
It wouldn't matter whether each heap region lives within the same RAM bank
or not.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]