5.7.1.4 Stack Guidance Option

The -mchp-stack-usage option analyzes the program and reports on the estimated maximum depth of any stack used by a program. The option can only be enabled with a PRO license.

See 15.4 Stack Guidance for more information on the stack guidance reports that are produced by the compiler.