mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-19 16:12:39 +00:00
refactor(spi): moved spi hw sharing func to hw support
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to a more fitting location in esp_hw_support (shared HW resource control). This also allows us to decouple the spi_flash driver from esp_driver_spi, removing esp_driver_spi and esp_ringbuf from G1 builds.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "esp_private/spi_slave_internal.h"
|
||||
#include "esp_private/spi_common_internal.h"
|
||||
#include "esp_private/esp_cache_private.h"
|
||||
#include "esp_private/spi_share_hw_ctrl.h"
|
||||
|
||||
static const char *SPI_TAG = "spi_slave";
|
||||
|
||||
|
Reference in New Issue
Block a user