drivers: spi: esp32: add basic SPI master support
Include SPI master support for blocking and asynchronous calls. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
c0ee8c4a43
commit
74922049ba
10 changed files with 616 additions and 0 deletions
20
drivers/spi/Kconfig.esp32
Normal file
20
drivers/spi/Kconfig.esp32
Normal file
|
@ -0,0 +1,20 @@
|
|||
# ESP32 SPI configuration
|
||||
|
||||
# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menuconfig ESP32_SPIM
|
||||
bool "ESP32 SPI Master driver"
|
||||
depends on SOC_ESP32
|
||||
default y
|
||||
help
|
||||
Enables support for ESP32 SPI Master driver.
|
||||
|
||||
if ESP32_SPIM
|
||||
|
||||
config SPI_ESP32_INTERRUPT
|
||||
bool "ESP32 SPI interrupt mode"
|
||||
help
|
||||
Enables interrupt support for ESP32 SPI driver.
|
||||
|
||||
endif # ESP32_SPIM
|
Loading…
Add table
Add a link
Reference in a new issue