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 43e08f9f991 boards/arm/stm32l4: Reduce knsh irq action preallocation
43e08f9f991 is described below

commit 43e08f9f991ee69a4e31d8a96080082d16ae8090
Author: zhangyuan29 <[email protected]>
AuthorDate: Mon Nov 30 16:02:52 2026 +0800

    boards/arm/stm32l4: Reduce knsh irq action preallocation
    
    The protected kernel region is limited to 8 KiB. Reduce the
    pre-allocated irq action pool by three entries to save 240 bytes;
    sigaction allocation falls back to the kernel heap when the pool
    is exhausted.
    
    Signed-off-by: zhangyuan29 <[email protected]>
---
 boards/arm/stm32l4/stm32l476vg-disco/configs/knsh/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/arm/stm32l4/stm32l476vg-disco/configs/knsh/defconfig 
b/boards/arm/stm32l4/stm32l476vg-disco/configs/knsh/defconfig
index 06e94371eba..9e77e94fb63 100644
--- a/boards/arm/stm32l4/stm32l476vg-disco/configs/knsh/defconfig
+++ b/boards/arm/stm32l4/stm32l476vg-disco/configs/knsh/defconfig
@@ -52,6 +52,7 @@ CONFIG_RTC_DRIVER=y
 CONFIG_RTC_IOCTL=y
 CONFIG_RTC_NALARMS=2
 CONFIG_SCHED_WAITPID=y
+CONFIG_SIG_PREALLOC_IRQ_ACTIONS=5
 CONFIG_SPI=y
 CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG=y
 CONFIG_STM32_DMA1=y

Reply via email to