i2c: clear the controller on every IRQ, not just armed buses A completed master write leaves bits set in I2CM14, and those bits hold the controller's shared interrupt line asserted. handle_slave_interrupt() is the only code that clears them, and it was reached only via try_next_slave_event() behind an `if bus.notif_enabled` guard. interrupt_ack() ran unconditionally, and it re-enables the NVIC line. So on a bus that never arms slave notification the hardware source was never cleared while the line was re-enabled, re-firing the interrupt forever. Service the controller on every IRQ and gate only the latch and client wake on notif_enabled. Buses that do arm notification are unaffected -- the call already ran for them.
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.