fix(spi): restore soc/spi_periph.h in hal/spi_hal.h for backward compatibility

Commit 64704886b7 (refactor(driver_spi): remove some SPI_LL_xxx SOC_xxx macros)
removed #include "soc/spi_periph.h" from hal/spi_hal.h. Out-of-tree code that
included hal/spi_hal.h and used spi_periph_signal then failed with the symbol
undeclared, because that header had been the transitive source of the declaration.

Partially reverts it.
This commit is contained in:
Michael.B
2026-04-12 03:35:32 +08:00
committed by Xiao Xufeng
parent 85a717f0a3
commit c7e0f02f3b
@@ -27,6 +27,7 @@
#pragma once
#include "esp_err.h"
#include "soc/soc_caps.h"
#include "soc/spi_periph.h"
#include "hal/spi_types.h"
#if SOC_GPSPI_SUPPORTED
#include "hal/spi_ll.h"