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

commit 8e05ffaab8f1c34a246f33b1084b93147ec02b90
Author: Justin Hammond <[email protected]>
AuthorDate: Sun Aug 2 16:11:02 2026 +0800

    boards/risc-v/eic7700x: Enable the reset procfs entry.
    
    Makes /proc/reset available, so which peripherals are held can be read
    while the board is running rather than only for the eight lines the
    startup report names.
    
    RESET_PROCFS depends on FS_PROCFS_REGISTER, which neither board set.
    Without it the symbol is dropped when the configuration is regenerated
    and the entry never appears, which is silent: the defconfig still reads
    as though the feature were on.
    
    Assisted-by: Claude:claude-opus-5
    Signed-off-by: Justin Hammond <[email protected]>
---
 boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig | 2 ++
 boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig 
b/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig
index 252bf2a674a..5055e1808ea 100644
--- a/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig
+++ b/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig
@@ -73,6 +73,7 @@ CONFIG_ELF=y
 CONFIG_ELF_STACKSIZE=2048
 CONFIG_EXAMPLES_HELLO=m
 CONFIG_FS_PROCFS=y
+CONFIG_FS_PROCFS_REGISTER=y
 CONFIG_FS_ROMFS=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_FILEPATH="/system/bin/init"
@@ -99,6 +100,7 @@ CONFIG_RAM_SIZE=1006632960
 CONFIG_RAM_START=0x80200000
 CONFIG_RAW_BINARY=y
 CONFIG_READLINE_CMD_HISTORY=y
+CONFIG_RESET_PROCFS=y
 CONFIG_RISCV_STRING_FUNCTION=y
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_BACKTRACE=y
diff --git a/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig 
b/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig
index 72e92019e2e..db0fceabd78 100644
--- a/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig
+++ b/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig
@@ -69,6 +69,7 @@ CONFIG_ELF=y
 CONFIG_ELF_STACKSIZE=2048
 CONFIG_EXAMPLES_HELLO=m
 CONFIG_FS_PROCFS=y
+CONFIG_FS_PROCFS_REGISTER=y
 CONFIG_FS_ROMFS=y
 CONFIG_IDLETHREAD_STACKSIZE=3072
 CONFIG_INIT_FILEPATH="/system/bin/init"
@@ -95,6 +96,7 @@ CONFIG_RAM_SIZE=1006632960
 CONFIG_RAM_START=0x80200000
 CONFIG_RAW_BINARY=y
 CONFIG_READLINE_CMD_HISTORY=y
+CONFIG_RESET_PROCFS=y
 CONFIG_RISCV_STRING_FUNCTION=y
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_BACKTRACE=y

Reply via email to