fjpanag commented on issue #2002: URL: https://github.com/apache/incubator-nuttx/issues/2002#issuecomment-716206159
Hi @xiaoxiang781216, `CONFIG_MM_REGIONS`, allows you to configure multiple heaps, but this is not what I need. I only need one heap. The problem is that NuttX does not allow me to place the heap wherever I need. It just makes the assumption that it is just after BSS. If I recall correctly the same goes for defining multiple heaps, with `CONFIG_MM_REGIONS`. It just places the two heaps at predetermined positions. If someone needs to modify this, they must make changes to the low-level drivers. I believe that the memory map of the whole system shall be configurable, or at least governed by the board. The OS must not have hard-coded addresses, or make any assumptions about the end application. ---------------------------------------------------------------- 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: us...@infra.apache.org