diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html
index 0670ec11cb..3b268c0a56 100644
--- a/Documentation/NuttxPortingGuide.html
+++ b/Documentation/NuttxPortingGuide.html
@@ -1870,14 +1870,11 @@ The system can be re-made subsequently by just typing make
.
Prototype: void up_allocate_heap(FAR void **heap_start, size_t *heap_size);
Description. - The heap may be statically allocated by - defining CONFIG_HEAP_BASE and CONFIG_HEAP_SIZE. If these - are not defined, then this function will be called to - dynamically set aside the heap region. + This function will be called to dynamically set aside the heap region.
- This API is NOT required if CONFIG_HEAP_BASE
- is defined.
+ For the kernel build (CONFIG_NUTTX_KERNEL
=y) with both kernel- and user-space heaps (CONFIG_MM_KERNEL_HEAP
=y), this function provides the size of the unprotected, user-space heap.
+ If a protected kernel-space heap is provided, the kernel heap must be allocated (and protected) by an analogous up_allocate_kheap()
.
up_interrupt_context()
CONFIG_PTHREAD_STACK_DEFAULT
: Default pthread stack size
CONFIG_HEAP_BASE
: The beginning of the heap
- CONFIG_HEAP_SIZE
: The size of the heap
-