Continue the work: https://github.com/apache/nuttx/pull/6976 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>