Stack Sizes
The C166 Compiler cannot calculate the exact stack usage of your application program because it does not detect the actual program flow and can not know about the interrupt capabilities of your target system.
The default settings 512 bytes for the system stack and 4096 bytes for the user stack are typically enough for most applications.