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

Module17: Fix I2C2 ER IRQ handler not linking #268

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

mdiepart
Copy link
Contributor

This fixes an issue where Module17 would crash if I2C2 error interrupt was thrown. This was due to the function being declared in C and the linker not being able to link it to the symbol declared in the NVIC vector table. Thus the default handler was executed.

This declares a symbol with the C++ mangled name and aliases it to the C function.

In the process it was found that the timeout variable used in the I2C2 SMB driver was never reset. This was fixed too.

@silseva silseva merged commit 92d6b2e into OpenRTX:Mod17_v1.0 Apr 28, 2024
2 checks passed
@silseva
Copy link
Collaborator

silseva commented Apr 28, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants