This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 8790ee6868f boards/ab32vg1-generic: Disable procfs in ostest to fit
the SRAM.
8790ee6868f is described below
commit 8790ee6868f310994bf86a57152db8ba54b1beff
Author: Marco Casaroli <[email protected]>
AuthorDate: Thu Nov 12 08:20:24 2026 +0100
boards/ab32vg1-generic: Disable procfs in ostest to fit the SRAM.
ab32vg1-generic:ostest runs from the 114 KB SRAM. After #21724 the
image does not fit:
riscv-none-elf-ld: region `sram' overflowed by 54 bytes
This configuration starts ostest_main and has no shell, and ostest does
not read /proc, so nothing in it uses procfs. Disable it: this frees
about 12 KB.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <[email protected]>
---
.../risc-v/ab32vg1/ab32vg1-generic/configs/ostest/defconfig | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/boards/risc-v/ab32vg1/ab32vg1-generic/configs/ostest/defconfig
b/boards/risc-v/ab32vg1/ab32vg1-generic/configs/ostest/defconfig
index e4fbbedd70e..ad9a5f82674 100644
--- a/boards/risc-v/ab32vg1/ab32vg1-generic/configs/ostest/defconfig
+++ b/boards/risc-v/ab32vg1/ab32vg1-generic/configs/ostest/defconfig
@@ -14,18 +14,6 @@
# CONFIG_DISABLE_POSIX_TIMERS is not set
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set
# CONFIG_DISABLE_PTHREAD is not set
-# CONFIG_FS_PROCFS_EXCLUDE_BLOCKS is not set
-# CONFIG_FS_PROCFS_EXCLUDE_CPUINFO is not set
-# CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MEMDUMP is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MEMINFO is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MOUNT is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MOUNTS is not set
-# CONFIG_FS_PROCFS_EXCLUDE_PROCESS is not set
-# CONFIG_FS_PROCFS_EXCLUDE_TCBINFO is not set
-# CONFIG_FS_PROCFS_EXCLUDE_UPTIME is not set
-# CONFIG_FS_PROCFS_EXCLUDE_USAGE is not set
-# CONFIG_FS_PROCFS_EXCLUDE_VERSION is not set
# CONFIG_LIBC_DISABLE_HEXSTR_TO_FLOAT is not set
# CONFIG_LIBC_STRSIGNAL_SHORT is not set
CONFIG_ARCH="risc-v"
@@ -49,7 +37,6 @@ CONFIG_DEV_ZERO=y
CONFIG_ENABLE_ALL_SIGNALS=y
CONFIG_FILE_STREAM=y
CONFIG_FS_ANONMAP=y
-CONFIG_FS_PROCFS=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_ENTRYPOINT="ostest_main"
CONFIG_INIT_STACKSIZE=3072