Skip to content

Commit b832fea

Browse files
committed
add a note for SPI_COUNT definition location.
1 parent 2ca2c8d commit b832fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/porting/target/spi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ This highly configurable interface has a wide range of elements you can adjust:
101101
A target must also define these elements:
102102

103103
- `#define SPI_COUNT (xxxxxU)`.
104-
The number of SPI peripheral available on the device.
104+
The number of SPI peripheral available on the device. A good place for that macro is `PeripheralNames.h` next to the `SPIName` enumeration.
105105

106106
#### Notes
107107

0 commit comments

Comments
 (0)