Joshua DeWeese
aba1d9aaf0
drivers/soft_spi: fix device validation bug
...
The code did not take into account that valid bus numbers are
0...(COUNT-1).
This patch corrects this. It also makes use of the newly introduced
SOFT_SPI_NUMOF define.
2022-12-14 08:18:45 -05:00
Joshua DeWeese
022192ecee
drivers/soft_spi: fix over-allocation of locks
...
The intent was to allocate one lock per device, but that was not the
case in practice. This patch fixes this.
2022-12-14 08:18:29 -05:00
Joshua DeWeese
d786883859
drivers/soft_spi: fix misspelling in comment
2022-12-09 14:35:04 -05:00
Francisco Molina
1ef9ca8a6f
drivers/soft_spi: remove nanosleep
2021-11-30 10:31:22 +01:00
Marian Buschsieweke
7aab478678
drivers/soft_spi: update API to match periph_spi
2021-08-06 12:47:00 +02:00
xuke
0c39c2321f
drivers/soft_spi:fix soft spi transfer bug
2021-03-17 09:41:54 +08:00
Leandro Lanzieri
858187dc25
drivers/soft_spi: add module to Kconfig
2021-01-21 11:22:31 +01:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Gunar Schorcht
6d61381d2a
drivers: use inline functions for GPIO comparisons
...
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
304bce3724
drivers: configure per driver dependency resolution
2020-07-20 14:32:16 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories
2020-07-15 20:36:27 +02:00
Benjamin Valentin
9d6d93ef2f
drivers: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
452920f6e3
drivers/soft_spi: use new driver params scheme
2018-03-07 15:23:12 +01:00
75b552014c
drivers/soft_spi: fix doxygen group name
...
It was inconsistent with other drivers group names
2018-01-22 09:04:10 +01:00
marble
fbba6c3851
driver/soft_spi: initial implementation
2017-11-13 10:11:06 +01:00