MAX78xxx-RefDes icon indicating copy to clipboard operation
MAX78xxx-RefDes copied to clipboard

Missing GPIO0_Handler causing cube camera to hang

Open Jacob-Scheiffler opened this issue 1 year ago • 0 comments

The last SDK release consolidated each of the PushButton source files into the MiscDrivers library. Long story short, to make these changes compatible with all micros supported in the SDK, the GPIOx_IRQHandler's were removed from pb.c and instead weak definitions of the relevant GPIOx_IRQHandler's used by each of the push buttons was provided in each board.c file. Since the MAX32665/MAXREFDES178 does not have any push buttons connected to GPIO0 a weak definition of GPIO0_IRQHandler is not provided for GPIO0. However, it appears there are several other interrupt sources connected to GPIO0 that relied on the definition of GPIO0_IRQHandler in the old version of pb.c. Since the GPIO0_IRQHandler definition is no longer provided in the BSP this is causing the code to hang. To fix this, a GPIO0_IRQHandler should be defined somewhere in each of these projects to support these interrupt sources.

Jacob-Scheiffler avatar Jul 13 '23 16:07 Jacob-Scheiffler