From d17ecbcf5da58c538144ae9afc333e550d696628 Mon Sep 17 00:00:00 2001 From: Xu Si Yu Date: Wed, 11 Jan 2023 11:14:24 +0800 Subject: [PATCH] soc: add a header file to fix the bug of esp32h4beta1 build --- components/soc/esp32h4/include/rev1/soc/efuse_struct.h | 1 + components/soc/esp32h4/include/rev1/soc/rtc_cntl_struct.h | 1 + components/soc/esp32h4/include/rev1/soc/syscon_struct.h | 1 + components/soc/esp32h4/include/rev1/soc/system_struct.h | 1 + components/soc/esp32h4/include/rev1/soc/usb_serial_jtag_struct.h | 1 + 5 files changed, 5 insertions(+) diff --git a/components/soc/esp32h4/include/rev1/soc/efuse_struct.h b/components/soc/esp32h4/include/rev1/soc/efuse_struct.h index 78fc253ab5d..c729d198f86 100644 --- a/components/soc/esp32h4/include/rev1/soc/efuse_struct.h +++ b/components/soc/esp32h4/include/rev1/soc/efuse_struct.h @@ -5,6 +5,7 @@ */ #ifndef _SOC_EFUSE_STRUCT_H_ #define _SOC_EFUSE_STRUCT_H_ +#include #ifdef __cplusplus extern "C" { #endif diff --git a/components/soc/esp32h4/include/rev1/soc/rtc_cntl_struct.h b/components/soc/esp32h4/include/rev1/soc/rtc_cntl_struct.h index ee1b5529252..8fa92bc3b3a 100644 --- a/components/soc/esp32h4/include/rev1/soc/rtc_cntl_struct.h +++ b/components/soc/esp32h4/include/rev1/soc/rtc_cntl_struct.h @@ -5,6 +5,7 @@ */ #ifndef _SOC_RTC_CNTL_STRUCT_H_ #define _SOC_RTC_CNTL_STRUCT_H_ +#include #ifdef __cplusplus extern "C" { #endif diff --git a/components/soc/esp32h4/include/rev1/soc/syscon_struct.h b/components/soc/esp32h4/include/rev1/soc/syscon_struct.h index 64f41991707..a7c1849d3fb 100644 --- a/components/soc/esp32h4/include/rev1/soc/syscon_struct.h +++ b/components/soc/esp32h4/include/rev1/soc/syscon_struct.h @@ -5,6 +5,7 @@ */ #ifndef _SOC_SYSCON_STRUCT_H_ #define _SOC_SYSCON_STRUCT_H_ +#include #ifdef __cplusplus extern "C" { #endif diff --git a/components/soc/esp32h4/include/rev1/soc/system_struct.h b/components/soc/esp32h4/include/rev1/soc/system_struct.h index aa917b1d6ab..a3d2433b502 100644 --- a/components/soc/esp32h4/include/rev1/soc/system_struct.h +++ b/components/soc/esp32h4/include/rev1/soc/system_struct.h @@ -6,6 +6,7 @@ #ifndef _SOC_SYSTEM_STRUCT_H_ #define _SOC_SYSTEM_STRUCT_H_ +#include #include "soc/soc.h" #ifdef __cplusplus diff --git a/components/soc/esp32h4/include/rev1/soc/usb_serial_jtag_struct.h b/components/soc/esp32h4/include/rev1/soc/usb_serial_jtag_struct.h index 141e5e2a69f..01771c83731 100644 --- a/components/soc/esp32h4/include/rev1/soc/usb_serial_jtag_struct.h +++ b/components/soc/esp32h4/include/rev1/soc/usb_serial_jtag_struct.h @@ -6,6 +6,7 @@ #ifndef _SOC_USB_SERIAL_JTAG_STRUCT_H_ #define _SOC_USB_SERIAL_JTAG_STRUCT_H_ +#include #include "soc/soc.h" #ifdef __cplusplus