Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing GPIO0_Handler causing cube camera to hang #49

Open
Jacob-Scheiffler opened this issue Jul 13, 2023 · 0 comments
Open

Missing GPIO0_Handler causing cube camera to hang #49

Jacob-Scheiffler opened this issue Jul 13, 2023 · 0 comments

Comments

@Jacob-Scheiffler
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant