search for: dnonthreadsafe_pseudostack

Displaying 1 result from an estimated 1 matches for "dnonthreadsafe_pseudostack".

2017 Oct 18
4
Global stack on Cortex-M4
...ut repeatedly run into "hard fault" crashes when stepping through the code. Firstly; for a "bare bone" configuration, does the following compiler directives make sense ? UDEFS = -DOPUS_BUILD -DFIXED_POINT -DDISABLE_FLOAT_API \         -DOPUS_ARM_INLINE_EDSP -DEMBEDDED_ARM -DNONTHREADSAFE_PSEUDOSTACK \         -DOVERRIDE_OPUS_ALLOC  -DOVERRIDE_OPUS_FREE  \          -D'opus_alloc(x)=NULL' -D'opus_free(x)=NULL' Secondly; With the "overide" directives above no dynamic memory allocation is supposed to happen. However, the following call chain (obviously)  cause a cra...