Ouss4 commented on pull request #5336: URL: https://github.com/apache/incubator-nuttx/pull/5336#issuecomment-1040222128
Note that enabling a CPU interrupt must be done from the specific CPU. We cannot enable CPU1's interrupts from CPU0. In this case then, I believe we need: 1. A call to `g_irqmap[XTENSA_IRQ_SWINT] = IRQ_MKMAP(1, ESP32_CPUINT_SOFTWARE1);` This maps the CPU interrupt. This can be done from any CPU. 2. During CPU1 startup we call `up_enable_irq(XTENSA_IRQ_SWINT);`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
