fix(build_system): cleaned up esp_psram dependencies

Also moved mspi_mb functionality to esp_hw_support together with
other mspi functionality
This commit is contained in:
Marius Vikhammer
2026-08-24 11:12:17 +08:00
parent b95b1bbf1f
commit 532b433246
20 changed files with 115 additions and 64 deletions
@@ -15,8 +15,6 @@
extern "C" {
#endif
#define ESP_PSRAM_MSPI_MB_WORKAROUND ((CONFIG_IDF_TARGET_ESP32C5 && CONFIG_ESP32C5_REV_MIN_FULL < 102) || (CONFIG_IDF_TARGET_ESP32C61 && CONFIG_ESP32C61_REV_MIN_FULL < 101))
/**
* @brief Register MSPI PSRAM interrupt
*
@@ -37,18 +35,6 @@ esp_err_t esp_psram_mspi_register_isr(void);
*/
esp_err_t esp_psram_mspi_unregister_isr(void);
/**
* @brief Initialize PSRAM MSPI memory barrier
*
* @return ESP_OK on success, otherwise an error code
*/
esp_err_t esp_psram_mspi_mb_init(void);
/**
* @brief PSRAM MSPI memory barrier
*/
void esp_psram_mspi_mb(void);
#ifdef __cplusplus
}
#endif