Skip to content

boards/risc-v: increase init stacksize for efuse defconfig on ESP32-C6#18520

Merged
linguini1 merged 1 commit intoapache:masterfrom
fdcavalcanti:feature/fix-efuse-stacksize
Mar 11, 2026
Merged

boards/risc-v: increase init stacksize for efuse defconfig on ESP32-C6#18520
linguini1 merged 1 commit intoapache:masterfrom
fdcavalcanti:feature/fix-efuse-stacksize

Conversation

@fdcavalcanti
Copy link
Contributor

Summary

  • boards/risc-v: increase init stacksize for efuse defconfig on ESP32-C6

Fixes a crash when executing basic commands on the efuse defconfig.

Signed-off-by: Filipe Cavalcanti filipe.cavalcanti@espressif.com

Impact

Impact on user: Yes, fixes efuse defconfig crash.

Impact on build: No.

Impact on hardware: No.

Impact on documentation: No.

Impact on security: No.

Impact on compatibility: No.

Testing

Build esp32c3-devkit:efuse and execute ps command.

Building

  • ./tools/configure.sh esp32c6-devkitc:efuse
  • Enable debug assertions
  • Make and flash

Running

Boot the device and execute ps command.

Results

Before changes:

nsh> ps
  TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     riscv_exception: EXCEPTION: Load access fault. MCAUSE: 00000005, EPC: 40031e3e, MTVAL: 5f68736e
riscv_exception: PANIC!!! Exception = 00000005
dump_assert_info: Current Version: NuttX  12.12.0 72be575b1a Mar 10 2026 12:09:09 risc-v
dump_assert_info: Assertion failed panic: at file: common/riscv_exception.c:134 task: nsh_main process: nsh_main 0x4200fa0a
...

After changes:

nsh> ps
  TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK            STACK COMMAND
    0     0     0   0 FIFO     Kthread   - Ready              0000000000000000 0002016 Idle_Task
    1     1     0 100 RR       Task      - Running            0000000000000000 0004032 nsh_main
nsh> 

Fixes a crash when executing basic commands on the efuse defconfig.

Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
@github-actions github-actions bot added Size: XS The size of the change in this PR is very small Board: risc-v labels Mar 10, 2026
@linguini1 linguini1 merged commit 5c71734 into apache:master Mar 11, 2026
36 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: risc-v Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants