This is an automated email from the ASF dual-hosted git repository.

masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new dc130b4  arch/xtensa/esp32s2_irq.c: Correctly enable the software 
interrupt.
dc130b4 is described below

commit dc130b48304691d0e825b90ac9ea0d3d920c69ca
Author: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
AuthorDate: Thu Feb 24 20:39:14 2022 +0100

    arch/xtensa/esp32s2_irq.c: Correctly enable the software interrupt.
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
---
 arch/xtensa/src/esp32s2/esp32s2_irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/src/esp32s2/esp32s2_irq.c 
b/arch/xtensa/src/esp32s2/esp32s2_irq.c
index 67f1b2a..598a499 100644
--- a/arch/xtensa/src/esp32s2/esp32s2_irq.c
+++ b/arch/xtensa/src/esp32s2/esp32s2_irq.c
@@ -112,6 +112,6 @@ void up_irqinitialize(void)
 
   /* Enable the software interrupt. */
 
-  up_enable_irq(XTENSA_IRQ_SWINT);
+  up_enable_irq(ESP32S2_CPUINT_SOFTWARE1);
 }
 

Reply via email to