call_graph_root
In this section:
Syntax
#pragma call_graph_root[=category]Parameters
| A string that identifies an optional call graph root category |
Description
Use this pragma directive to specify that, for stack usage analysis purposes, the immediately following function is a call graph root. You can also specify an optional category. The compiler will usually automatically assign a call graph root category to interrupt and task functions. If you use the #pragma call_graph_root directive on such a function you will override the default category. You can specify any string as a category.
Example
#pragma call_graph_root="interrupt"