you can get the stack usage by: objdump -d nuttx | tools/checkstack.pl [arch] [minstack] Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I27c60ec4f1a7c34fcff3f3012e4440e4fc48bb82