mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
1128f6bd6c
Fix several issues preventing the protected build from booting: memory.ld: Increase ksram from 16K to 20K to accommodate kernel BSS and idle thread stack. Rebalance usram to 20K and xsram to 24K accordingly. defconfig: Remove CONFIG_FS_TMPFS to reduce kernel binary size so it fits within the 128KB kflash partition. defconfig: Add CONFIG_TLS_LOG2_MAXSTACK=11 to reduce TLS stack alignment from 8K(default) to 2K. The default 8K alignment caused memalign to request oversized allocations from the user heap, failing the init task stack allocation. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>