feat(driver_spi): split spi hal component

This commit is contained in:
wanckl
2025-12-16 20:38:09 +08:00
parent d20b89ece0
commit d12f941787
144 changed files with 307 additions and 445 deletions
@@ -13,7 +13,7 @@
#pragma once
#include <stdlib.h>
#include "soc/spi_periph.h"
#include "soc/spi_reg.h"
#include "soc/spi_struct.h"
#include "soc/pcr_struct.h"
#include "hal/spi_types.h"
@@ -18,18 +18,16 @@
#include <sys/param.h> // For MIN/MAX
#include <stdbool.h>
#include <string.h>
#include "soc/spi_periph.h"
#include "soc/spi_mem_reg.h"
#include "soc/spi_mem_struct.h"
#include "soc/interrupts.h"
#include "soc/pcr_struct.h"
#include "soc/clk_tree_defs.h"
#include "hal/assert.h"
#include "hal/spi_types.h"
#include "hal/spi_flash_types.h"
#include "soc/pcr_struct.h"
#include "soc/clk_tree_defs.h"
#include "hal/misc.h"
//TODO: [ESP32H21] IDF-11609, inherit from h2
#ifdef __cplusplus
extern "C" {
#endif