This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Memory allocation failure
> Another engineer posed the question to me, "Whose stack are the
> constructors using, and how big is it?" A question which I cannot
> answer. Is there a configuration option for that stack space? We had a
> problem with VxWorks, which tried to run all of the constructors with
> too small of a stack.
That could be your problem. Constructors are called with the interrupt
stack. You can control the size of this with
CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss