On Mon, May 25, 2020 at 1:25 AM Laitinen, Jukka
<jukka.laiti...@intel.com> wrote:
>
> Hi,
>
> Right now, looking at the file nx_start.c, all calls to  up_allocate_heap are 
> being done when one of these flags are defined:
>
> #if defined(MM_KERNEL_USRHEAP_INIT) || defined(CONFIG_MM_KERNEL_HEAP) || \
>     defined(CONFIG_MM_PGALLOC)
>
> I was just left without stack when re-basing to the latest master, using 
> CONFIG_BUILD_FLAT. I wonder what is the proper way to call up_allocate_heap 
> in this case?

Is this for a custom board (not in the upstream NuttX tree)? And if
so, does your board's scripts/Make.defs still have EXTRADEFINES
instead of the newer EXTRAFLAGS?

See: 
https://cwiki.apache.org/confluence/display/NUTTX/NuttX+9.1#NuttX9.1-ChangestoBuildSystem

Nathan

Reply via email to