Part Number: CC1352P
Hi, I use CC1352P, simplelink_cc13x2_26x2_sdk_5_20_00_52, CCS10.4.
My application is based on 15.4 sensor_2_4g.
In app.cfg, I can see the stack size is configured to 1376 bytes as below:

And this is the default config.
After build my application, I can see stack size in map file as below:

It shows that stack size is 0x560 which is 1376 bytes. This equals the stack size in app.cfg. Now everything is normal.
And then, I open Stack Usage in CCS as below:

There is a function who's stack inclusive size is 2676 bytes, more than 1376 bytes.
And the prompt is 2676 out of 2676 bytes used(100%).
Then, I define an 1000-byte array in this function, build again:

The stack usage in this function add 1000 bytes.
So, according to this experiment, the total stack size seems to be determined by compiler dynamically, not determined by configuration in the app.cfg.
And stack size in map file doesn't seem to make sense.
Please help me with my confusion.