-
Notifications
You must be signed in to change notification settings - Fork 2.1k
drivers/periph: making bus drivers thread safe #2314
Copy link
Copy link
Closed
Labels
Area: driversArea: Device driversArea: Device driversPlatform: ARMPlatform: This PR/issue effects ARM-based platformsPlatform: This PR/issue effects ARM-based platforms
Milestone
Description
As pointed out in #2289, our current bus driver implementations are not thread save. A solution is proposed in #2290 (for the STM32F4 cpu). If we use that proposed solution or if we do something else - either way we need to do this for all cpus and bus drivers. This issue is for tracking the implementation status of this effort.
Thread safe bus drivers:
- cc2538
- i2c (does not exist right know)
- spi (does not exist right know)
- sam3x8e
- i2c (does not exist right know)
- spi (@PeterKietzmann) drivers/periph/spi: Implement thread safety for all SPI devices #2317
- samd21
- stm32f0
- i2c (does not exist right know)
- spi (@PeterKietzmann) drivers/periph/spi: Implement thread safety for all SPI devices #2317
- stm32f1
- stm32f3
- i2c (does not exist right know)
- spi drivers/periph/spi: Implement thread safety for all SPI devices #2317
- stm32f4
- stm32l1
- kinetis_common Support for Freescale Kinetis MCUs, kinetis_common #2265
Question: do we need to make the UART thread safe?
Edit [@thomaseichinger]:
To keep things centralised I add a list of drivers needing adoption.
- SPI
- I2C
- hdc1000 (@jfischer-phytec-iot ) drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes #2354
- isl29020 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- l3g4200d (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- lps331ap (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- mag3110 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- mma8652 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- mpl3115a2 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- srf02 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- srf08 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- tmp006 (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
- lsm303dlhc (@PeterKietzmann) drivers/... : Acquire exclusive access to I2C bus #2326
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: driversArea: Device driversArea: Device driversPlatform: ARMPlatform: This PR/issue effects ARM-based platformsPlatform: This PR/issue effects ARM-based platforms