acassis commented on PR #15831: URL: https://github.com/apache/nuttx/pull/15831#issuecomment-2659498302
> > @PetervdPerk-NXP why not keep IRQ GPIO enabled by default? ESP32 has this same option and the users normally spend a lot of time figuring out why IRQ is not working. So if someone want to disable IRQ for some reason he is free to do it, and iMX9 has enough memory so there is not big benefit of keeping it disabled by default > > This is because if the A55 has for instance GPIO3 assigned and the M7 can't access GPIO3 because only A55 is allowed to use GPIO3 (this is done through IMX95 resource domain controller) this yields an hardfault when accessing these registers, however one can still receive and interrupt on GPIO3 if they attached the interrupt handler.. > > Thus one should be careful attaching an interrupt handler to unused GPIO peripherals, this patch makes it kconfig configurable so that an user only attached the interrupt handler for the GPIO banks they're interested in. Got it! Thank you! -- 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]
