Skip to content

Commit 16a3b80

Browse files
committed
README.md: Add note on kernel version requirements
1 parent eeafa0e commit 16a3b80

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ spi.open_path(spidev_devicefile_path)
1414
to_send = [0x01, 0x02, 0x03]
1515
spi.xfer(to_send)
1616
```
17+
18+
## Kernel
19+
20+
The module uses the `SPI_IOC_RD_MODE32` and `SPI_IOC_WR_MODE32` ioctls that are
21+
available since Linux kernel version 3.15. Older kernels are not supported.
22+
23+
Some features (e.g. `mosi_idle_low`) depend on the support being available in
24+
the Linux kernel. Make sure the module is built against the proper kernel
25+
header versions, otherwise the feature might be missing.
26+
1727
## Settings
1828

1929
```python

0 commit comments

Comments
 (0)