Skip to content

Commit 6f96afb

Browse files
committed
add the new IRQ flow and details about testing
1 parent a0504a6 commit 6f96afb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

hal/rfcs/0000-spi-overhaul.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ void spi_free(spi_t *obj);
187187
- Passing an invalid pointer as `handler` to `spi_transfer_async`.
188188
- Calling `spi_transfer_async_abort()` while no async transfer is being processed (no transfer or a synchronous transfer).
189189
190+
### Updated flow
191+
The IRQ flow has slightly changed. In the new API the flow is as follow :
192+
![IRQ flow](hal/rfcs/spi_irq_flow.png)
193+
194+
## Testing
195+
Any regression will be captured as tests are created and added to CI to cover the newly defined behaviours. However, due to hardware limitations, it will not be possible to test them all in CI.
196+
Some examples will be created in order to cover the remaining behaviours and use-cases. Those examples will be run manually before releases.
197+
190198
## Impact on partners' implementations
191199
192200
The new API does not impact partners much as most of them factorise HAL implementation to family level.

hal/rfcs/spi_irq_flow.png

15.1 KB
Loading

0 commit comments

Comments
 (0)