[En-Nut-Discussion] Variables on stack, was: Re: STM32F756 strange effect

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Apr 12 19:45:13 CEST 2016


>>>>> "Holger" == Holger Mai <mai at gemac.info> writes:

...
    Holger> Another thing is that the default config for Kernel/Main Thread
    Holger> Stack size is too low, it fails with F756 (produces some
    Holger> different usage and hard faults at init phase). However, if i
    Holger> set this to 2048 or 3072 bytes, the OS runs.

Did you have large variables on the stack? That often causes such problems.

Bye

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------


More information about the En-Nut-Discussion mailing list