kernel/init/os_start : Change USR_HEAP to BASE_HEAP for initializing user heap
In tinyara/mm/mm.h, there is a user heap definition as BASE_HEAP.
But USR_HEAP is in mm/umm_heap, so kernel cannot use the USR_HEAP.
@@ -390,7 +390,7 @@ void os_start(void)
up_allocate_heap(&heap_start, &heap_size);
#if CONFIG_MM_REGIONS > 1
- mm_initialize(&USR_HEAP[regionx_heap_idx[0]], heap_start, heap_size);
+ mm_initialize(&BASE_HEAP[regionx_heap_idx[0]], heap_start, heap_size);
heapx_is_init[regionx_heap_idx[0]] = true;
up_addregion();
#else
