Skip to content

Commit 50be53b

Browse files
ithinuelc1728p9
authored andcommitted
fix according to @donatieng's review
1 parent 852749c commit 50be53b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/design-documents/hal/0002-pinmap-extension.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ These tools will help designing better tests for the HAL.
1717

1818
## Motivation
1919

20-
At the time being, drivers are only tested on a single "default" peripheral. However, some target features the same peripheral through different IP for example the SPI may be provided on a single MCU by its USART, QSPI and SSP peripherals. To ensure that the driver implementation is valid for all these peripherals we want the CI to assess each pin in at least one pin configuration for each peripheral.
20+
At the time being, drivers are only tested on a single "default" peripheral. However, some target feature the same peripheral through different blocks' implementations for example the SPI may be provided on a single MCU by its USART, QSPI and SSP peripherals.
21+
To ensure that the driver's implementation is valid for all these peripherals we want the CI to run the test set on each peripheral using at least one set of pin determined at run time (pin may eventually picked randomly).
2122

2223
## Requirements
2324

2425
1. We want to list all pins for a function on a peripheral.
26+
For instance, all pins that can be configured as MOSI for SPI1.
2527
2. We want to list all functions a pin can provide.
2628
3. We want to list all pins for a form-factor regardless of the function they can provide.
2729
4. We want a printable name for each pin and a method to get that name.

0 commit comments

Comments
 (0)