I wish to manipulate stack size for individual function.
My default stack size is 0x80 (128 bytes).
I have a function in which I dynamically allocate and dealloacte memory dynamically (about 120 bytes). I do-not wish to make it an global variable because it will unnecessary occupy RAM space rest of time when not used.
Can also someone explain me if implication of stack size.
If I declare to particular size of stack and don't use it completely then would I suffer internal fragmentation.
I am using MC9S08LG32 controller and CW 10.2