工程工具仅在桌面屏幕上可用。
根据最坏情况下的调用深度、平均帧大小、ISR 嵌套和操作系统开销,估算推荐的任务/ISR 栈大小。请务必通过栈溢出保护进行验证。
core = depth × frame + locals
isr_total = isr_depth × isr_frame
stack = (core + isr_total + os_overhead) × (1 + margin)