Parcourir la source

Merge branch 'bugfix/soc_caps_implicit_inc_v4.2' into 'release/v4.2'

HAL: explicitly include soc_caps.h  (v4.2)

See merge request espressif/esp-idf!11896
Michael (XIAO Xufeng) il y a 5 ans
Parent
commit
10f16c5d72

+ 1 - 0
components/soc/include/hal/mpu_types.h

@@ -14,6 +14,7 @@
 #pragma once
 
 #include <stdint.h>
+#include "soc/mpu_caps.h"
 
 #if SOC_MPU_CONFIGURABLE_REGIONS_SUPPORTED
 typedef void** mpu_region_table_t;

+ 3 - 1
components/soc/include/hal/pcnt_types.h

@@ -18,6 +18,8 @@
 extern "C" {
 #endif
 
+#include "soc/pcnt_caps.h"
+
 #define PCNT_PIN_NOT_USED     (-1)  /*!< When selected for a pin, this pin will not be used */
 
 /**
@@ -43,7 +45,7 @@ typedef enum {
     PCNT_UNIT_7 = 7,                 /*!< PCNT unit 7 */
 #endif
     PCNT_UNIT_MAX,
-} pcnt_unit_t; 
+} pcnt_unit_t;
 
 /**
  * @brief Selection of available modes that determine the counter's action depending on the state of the control signal's input GPIO

+ 1 - 0
components/soc/include/hal/spi_hal.h

@@ -37,6 +37,7 @@
 #include "hal/spi_ll.h"
 #include <esp_err.h>
 #include "soc/lldesc.h"
+#include "soc/spi_caps.h"
 
 /**
  * Timing configuration structure that should be calculated by