cwespressif commented on a change in pull request #2832: URL: https://github.com/apache/incubator-nuttx/pull/2832#discussion_r582674251
########## File path: arch/xtensa/src/esp32/esp32_allocateheap.c ########## @@ -130,6 +143,10 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size) { board_autoled_on(LED_HEAPALLOCATE); +#ifdef CONFIG_XTENSA_IMEM_MAXIMIZE_HEAP_REGION + *heap_size = HEAP_REGION_OFFSET; + *heap_start = (size_t)(HEAP_REGION1_END - *heap_size); Review comment: Got it, I have modified. ---------------------------------------------------------------- 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