[ECOS] ARM startup stack & C++
Robin Farine
acnrf@dial.eunet.ch
Wed Aug 8 08:16:00 GMT 2001
Hi gang,
I have got some stack overflow during execution of non-trivial static
initializers with C++ programs. The file vectors.S for ARM declares a startup
stack of 512 bytes when configured for separate interrupt stack. What do you
think I should do to get a big stack for initializers/finalizers?
1) Change the hardcoded 512 into 8192 ;-)
2) Add a configuration option for the startup stack size but nothing will use
this "big" area afterwards, correct?
3) Disable the separate interrupt stack but this probably has annoying
implications.
4) A completely different and wonderful solution?
Number 2 seems not too bad to me, what's your opinion?
Robin
More information about the Ecos-discuss
mailing list