This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What's the difference between Stack size and Max Depth?

for example:
int the Static Call Graph file:

SD_DMARxAbort (Thumb, 76 bytes, Stack size 16 bytes, stm32f7xx_hal_sd.o(i.SD_DMARxAbort))

[Stack]

Max Depth = 128
Call Chain = SD_DMARxAbort ⇒ HAL_SD_GetCardState ⇒ SD_SendStatus ⇒ SDMMC_CmdSendStatus ⇒ SDMMC_GetCmdResp1 ⇒ SDMMC_GetResponse

[Calls]
>>   HAL_SD_GetCardState
>>   HAL_SD_ErrorCallback
>>   HAL_SD_AbortCallback
>>   SDMMC_CmdStopTransfer

.

What's the meaning of the Thunb, Stack size, and Max Depth?

sometimes Max Depth and Stack size are the same, sometimes not, why?