Просмотр исходного кода

Merge branch 'refactor/create_esp_hw_support' into 'master'

Create esp_hw_support

Closes IDF-2161

See merge request espressif/esp-idf!10513
Angus Gratton 5 лет назад
Родитель
Сommit
8f3393afdf
100 измененных файлов с 121 добавлено и 102 удалено
  1. 1 0
      .gitlab/CODEOWNERS
  2. 2 2
      components/bootloader/subproject/CMakeLists.txt
  3. 1 1
      components/bootloader/subproject/Makefile
  4. 2 2
      components/bootloader/subproject/main/ld/esp32/bootloader.ld
  5. 3 3
      components/bootloader/subproject/main/ld/esp32s2/bootloader.ld
  6. 3 3
      components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
  7. 1 1
      components/esp_common/CMakeLists.txt
  8. 8 0
      components/esp_hw_support/CMakeLists.txt
  9. 7 0
      components/esp_hw_support/README.md
  10. 0 0
      components/esp_hw_support/compare_set.c
  11. 4 0
      components/esp_hw_support/component.mk
  12. 0 0
      components/esp_hw_support/cpu_util.c
  13. 7 0
      components/esp_hw_support/include/soc/compare_set.h
  14. 0 0
      components/esp_hw_support/include/soc/cpu.h
  15. 0 0
      components/esp_hw_support/include/soc/rtc_wdt.h
  16. 7 0
      components/esp_hw_support/include/soc/spinlock.h
  17. 1 0
      components/esp_hw_support/include/soc_log.h
  18. 11 0
      components/esp_hw_support/linker.lf
  19. 11 12
      components/esp_hw_support/port/esp32/CMakeLists.txt
  20. 0 0
      components/esp_hw_support/port/esp32/private_include/regi2c_apll.h
  21. 0 0
      components/esp_hw_support/port/esp32/private_include/regi2c_bbpll.h
  22. 0 0
      components/esp_hw_support/port/esp32/regi2c_ctrl.h
  23. 0 0
      components/esp_hw_support/port/esp32/rtc_clk.c
  24. 3 0
      components/esp_hw_support/port/esp32/rtc_clk_common.h
  25. 0 0
      components/esp_hw_support/port/esp32/rtc_clk_init.c
  26. 0 0
      components/esp_hw_support/port/esp32/rtc_init.c
  27. 0 0
      components/esp_hw_support/port/esp32/rtc_pm.c
  28. 0 0
      components/esp_hw_support/port/esp32/rtc_sleep.c
  29. 0 0
      components/esp_hw_support/port/esp32/rtc_time.c
  30. 0 0
      components/esp_hw_support/port/esp32/rtc_wdt.c
  31. 5 5
      components/esp_hw_support/port/esp32s2/CMakeLists.txt
  32. 0 0
      components/esp_hw_support/port/esp32s2/private_include/regi2c_apll.h
  33. 0 0
      components/esp_hw_support/port/esp32s2/private_include/regi2c_bbpll.h
  34. 0 0
      components/esp_hw_support/port/esp32s2/private_include/regi2c_brownout.h
  35. 0 0
      components/esp_hw_support/port/esp32s2/private_include/regi2c_saradc.h
  36. 0 0
      components/esp_hw_support/port/esp32s2/private_include/regi2c_ulp.h
  37. 0 0
      components/esp_hw_support/port/esp32s2/regi2c_ctrl.c
  38. 0 0
      components/esp_hw_support/port/esp32s2/regi2c_ctrl.h
  39. 0 0
      components/esp_hw_support/port/esp32s2/rtc_clk.c
  40. 3 0
      components/esp_hw_support/port/esp32s2/rtc_clk_common.h
  41. 0 0
      components/esp_hw_support/port/esp32s2/rtc_clk_init.c
  42. 0 0
      components/esp_hw_support/port/esp32s2/rtc_init.c
  43. 0 0
      components/esp_hw_support/port/esp32s2/rtc_pm.c
  44. 0 0
      components/esp_hw_support/port/esp32s2/rtc_sleep.c
  45. 0 0
      components/esp_hw_support/port/esp32s2/rtc_time.c
  46. 0 0
      components/esp_hw_support/port/esp32s2/rtc_wdt.c
  47. 10 10
      components/esp_hw_support/port/esp32s3/CMakeLists.txt
  48. 0 0
      components/esp_hw_support/port/esp32s3/private_include/regi2c_bbpll.h
  49. 0 0
      components/esp_hw_support/port/esp32s3/private_include/regi2c_brownout.h
  50. 0 0
      components/esp_hw_support/port/esp32s3/private_include/regi2c_dig_reg.h
  51. 0 0
      components/esp_hw_support/port/esp32s3/private_include/regi2c_ulp.h
  52. 0 0
      components/esp_hw_support/port/esp32s3/regi2c_ctrl.h
  53. 0 0
      components/esp_hw_support/port/esp32s3/rtc_clk.c
  54. 3 0
      components/esp_hw_support/port/esp32s3/rtc_clk_common.h
  55. 0 0
      components/esp_hw_support/port/esp32s3/rtc_clk_init.c
  56. 0 0
      components/esp_hw_support/port/esp32s3/rtc_init.c
  57. 0 0
      components/esp_hw_support/port/esp32s3/rtc_pm.c
  58. 0 0
      components/esp_hw_support/port/esp32s3/rtc_sleep.c
  59. 0 0
      components/esp_hw_support/port/esp32s3/rtc_time.c
  60. 3 0
      components/esp_hw_support/test/CMakeLists.txt
  61. 0 0
      components/esp_hw_support/test/component.mk
  62. 0 0
      components/esp_hw_support/test/test_rtc_clk.c
  63. 1 2
      components/fatfs/test_fatfs_host/Makefile.files
  64. 0 0
      components/hal/esp32s2/include/hal/memprot_peri_ll.h
  65. 0 0
      components/hal/include/hal/sha_hal.h
  66. 1 1
      components/lwip/test_afl_host/Makefile
  67. 2 2
      components/mdns/test_afl_fuzz_host/Makefile
  68. 5 13
      components/soc/CMakeLists.txt
  69. 2 25
      components/soc/README.md
  70. 2 12
      components/soc/component.mk
  71. 12 8
      components/soc/esp32/CMakeLists.txt
  72. 0 0
      components/soc/esp32/adc_periph.c
  73. 0 0
      components/soc/esp32/dac_periph.c
  74. 0 0
      components/soc/esp32/gpio_periph.c
  75. 0 0
      components/soc/esp32/i2c_periph.c
  76. 0 0
      components/soc/esp32/i2s_periph.c
  77. 0 0
      components/soc/esp32/include/soc/adc_channel.h
  78. 0 0
      components/soc/esp32/include/soc/apb_ctrl_reg.h
  79. 0 0
      components/soc/esp32/include/soc/apb_ctrl_struct.h
  80. 0 0
      components/soc/esp32/include/soc/bb_reg.h
  81. 0 0
      components/soc/esp32/include/soc/boot_mode.h
  82. 0 0
      components/soc/esp32/include/soc/can_periph.h
  83. 0 0
      components/soc/esp32/include/soc/can_struct.h
  84. 0 0
      components/soc/esp32/include/soc/clkout_channel.h
  85. 0 0
      components/soc/esp32/include/soc/dac_channel.h
  86. 0 0
      components/soc/esp32/include/soc/dport_access.h
  87. 0 0
      components/soc/esp32/include/soc/dport_reg.h
  88. 0 0
      components/soc/esp32/include/soc/efuse_reg.h
  89. 0 0
      components/soc/esp32/include/soc/emac_dma_struct.h
  90. 0 0
      components/soc/esp32/include/soc/emac_ext_struct.h
  91. 0 0
      components/soc/esp32/include/soc/emac_mac_struct.h
  92. 0 0
      components/soc/esp32/include/soc/fe_reg.h
  93. 0 0
      components/soc/esp32/include/soc/frc_timer_reg.h
  94. 0 0
      components/soc/esp32/include/soc/gpio_pins.h
  95. 0 0
      components/soc/esp32/include/soc/gpio_reg.h
  96. 0 0
      components/soc/esp32/include/soc/gpio_sd_reg.h
  97. 0 0
      components/soc/esp32/include/soc/gpio_sd_struct.h
  98. 0 0
      components/soc/esp32/include/soc/gpio_sig_map.h
  99. 0 0
      components/soc/esp32/include/soc/gpio_struct.h
  100. 0 0
      components/soc/esp32/include/soc/hinf_reg.h

+ 1 - 0
.gitlab/CODEOWNERS

@@ -80,6 +80,7 @@
 /components/esp_http_server/          @esp-idf-codeowners/app-utilities
 /components/esp_http_server/          @esp-idf-codeowners/app-utilities
 /components/esp_https_ota/            @esp-idf-codeowners/app-utilities
 /components/esp_https_ota/            @esp-idf-codeowners/app-utilities
 /components/esp_https_server/         @esp-idf-codeowners/app-utilities
 /components/esp_https_server/         @esp-idf-codeowners/app-utilities
+/components/esp_hw_support/           @esp-idf-codeowners/system
 /components/esp_ipc/                  @esp-idf-codeowners/system
 /components/esp_ipc/                  @esp-idf-codeowners/system
 /components/esp_local_ctrl/           @esp-idf-codeowners/app-utilities
 /components/esp_local_ctrl/           @esp-idf-codeowners/app-utilities
 /components/esp_netif/                @esp-idf-codeowners/network
 /components/esp_netif/                @esp-idf-codeowners/network

+ 2 - 2
components/bootloader/subproject/CMakeLists.txt

@@ -15,10 +15,10 @@ if(NOT IDF_TARGET)
         "in by the parent build process.")
         "in by the parent build process.")
 endif()
 endif()
 
 
-set(COMPONENTS bootloader esptool_py partition_table soc bootloader_support log spi_flash micro-ecc main efuse)
+set(COMPONENTS bootloader esptool_py esp_hw_support hal partition_table soc bootloader_support log spi_flash micro-ecc main efuse)
 set(BOOTLOADER_BUILD 1)
 set(BOOTLOADER_BUILD 1)
 include("${IDF_PATH}/tools/cmake/project.cmake")
 include("${IDF_PATH}/tools/cmake/project.cmake")
-set(common_req log esp_rom esp_common xtensa)
+set(common_req log esp_rom esp_common esp_hw_support hal xtensa)
 if(LEGACY_INCLUDE_COMMON_HEADERS)
 if(LEGACY_INCLUDE_COMMON_HEADERS)
     list(APPEND common_req soc hal)
     list(APPEND common_req soc hal)
 endif()
 endif()

+ 1 - 1
components/bootloader/subproject/Makefile

@@ -8,7 +8,7 @@ endif
 
 
 PROJECT_NAME := bootloader
 PROJECT_NAME := bootloader
 
 
-COMPONENTS := esptool_py bootloader_support log spi_flash micro-ecc soc main efuse esp_rom hal
+COMPONENTS := esp_hw_support esptool_py bootloader_support log spi_flash micro-ecc soc main efuse esp_rom hal
 
 
 # Clear C and CXX from top level project
 # Clear C and CXX from top level project
 CFLAGS =
 CFLAGS =

+ 2 - 2
components/bootloader/subproject/main/ld/esp32/bootloader.ld

@@ -56,8 +56,8 @@ SECTIONS
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libhal.a:wdt_hal_iram.*(.literal .text .literal.* .text.*)
     *libhal.a:wdt_hal_iram.*(.literal .text .literal.* .text.*)
-    *libsoc.a:rtc_clk.*(.literal .text .literal.* .text.*)
-    *libsoc.a:rtc_time.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:rtc_time.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *(.fini.literal)
     *(.fini.literal)
     *(.fini)
     *(.fini)

+ 3 - 3
components/bootloader/subproject/main/ld/esp32s2/bootloader.ld

@@ -43,9 +43,9 @@ SECTIONS
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libhal.a:wdt_hal_iram.*(.literal .text .literal.* .text.*)
     *libhal.a:wdt_hal_iram.*(.literal .text .literal.* .text.*)
-    *libsoc.a:rtc_clk.*(.literal .text .literal.* .text.*)
-    *libsoc.a:rtc_time.*(.literal .text .literal.* .text.*)
-    *libsoc.a:regi2c_ctrl.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:rtc_time.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:regi2c_ctrl.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *(.fini.literal)
     *(.fini.literal)
     *(.fini)
     *(.fini)

+ 3 - 3
components/bootloader/subproject/main/ld/esp32s3/bootloader.ld

@@ -44,9 +44,9 @@ SECTIONS
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libmicro-ecc.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libspi_flash.a:*.*(.literal .text .literal.* .text.*)
     *libhal.a:wdt_hal_iram.*(.literal .text .literal.* .text.*)
     *libhal.a:wdt_hal_iram.*(.literal .text .literal.* .text.*)
-    *libsoc.a:rtc_clk.*(.literal .text .literal.* .text.*)
-    *libsoc.a:rtc_time.*(.literal .text .literal.* .text.*)
-    *libsoc.a:regi2c_ctrl.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:rtc_clk.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:rtc_time.*(.literal .text .literal.* .text.*)
+    *libesp_hw_support.a:regi2c_ctrl.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *libefuse.a:*.*(.literal .text .literal.* .text.*)
     *(.fini.literal)
     *(.fini.literal)
     *(.fini)
     *(.fini)

+ 1 - 1
components/esp_common/CMakeLists.txt

@@ -25,7 +25,7 @@ else()
     # Note: esp_ipc, esp_pm added as a public requirement to keep compatibility as to be located here.
     # Note: esp_ipc, esp_pm added as a public requirement to keep compatibility as to be located here.
     idf_component_register(SRCS "${srcs}"
     idf_component_register(SRCS "${srcs}"
                            INCLUDE_DIRS include
                            INCLUDE_DIRS include
-                           REQUIRES ${target} espcoredump esp_timer esp_ipc esp_pm
+                           REQUIRES ${target} espcoredump esp_timer esp_ipc esp_pm esp_hw_support
                            PRIV_REQUIRES soc
                            PRIV_REQUIRES soc
                            LDFRAGMENTS "linker.lf")
                            LDFRAGMENTS "linker.lf")
 
 

+ 8 - 0
components/esp_hw_support/CMakeLists.txt

@@ -0,0 +1,8 @@
+idf_component_register(SRCS "compare_set.c"
+                            "cpu_util.c"
+                       INCLUDE_DIRS include
+                       REQUIRES soc
+                       LDFRAGMENTS linker.lf)
+
+idf_build_get_property(target IDF_TARGET)
+add_subdirectory(port/${target})

+ 7 - 0
components/esp_hw_support/README.md

@@ -0,0 +1,7 @@
+## `esp_hw_support` ##
+
+This component contains hardware-related operations for supporting the system. These operations
+are one level above that of `hal` in that these(1) use system services such as memory allocation, logging, scheduling
+or (2) may be multi-step operations involving/affecting multiple parts of the SoC.
+
+Implementations that don't fit other components cleanly, but are not worth creating a new component for (yet) may also be placed here as long as they don't pull dependencies other than the core system components.

+ 0 - 0
components/soc/src/compare_set.c → components/esp_hw_support/compare_set.c


+ 4 - 0
components/esp_hw_support/component.mk

@@ -0,0 +1,4 @@
+COMPONENT_SRCDIRS := . port/$(IDF_TARGET)
+COMPONENT_ADD_INCLUDEDIRS := . include port/$(IDF_TARGET)/private_include
+
+port/$(IDF_TARGET)/rtc_clk.o: CFLAGS += -fno-jump-tables -fno-tree-switch-conversion

+ 0 - 0
components/soc/src/cpu_util.c → components/esp_hw_support/cpu_util.c


+ 7 - 0
components/soc/include/soc/compare_set.h → components/esp_hw_support/include/soc/compare_set.h

@@ -21,6 +21,9 @@
 #include "soc/soc_memory_layout.h"
 #include "soc/soc_memory_layout.h"
 #include "xtensa/xtruntime.h"
 #include "xtensa/xtruntime.h"
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 
 static inline void __attribute__((always_inline)) compare_and_set_native(volatile uint32_t *addr, uint32_t compare, uint32_t *set)
 static inline void __attribute__((always_inline)) compare_and_set_native(volatile uint32_t *addr, uint32_t compare, uint32_t *set)
 {
 {
@@ -53,4 +56,8 @@ static inline void __attribute__((always_inline)) compare_and_set_native(volatil
 
 
 void compare_and_set_extram(volatile uint32_t *addr, uint32_t compare, uint32_t *set);
 void compare_and_set_extram(volatile uint32_t *addr, uint32_t compare, uint32_t *set);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 #endif

+ 0 - 0
components/soc/include/soc/cpu.h → components/esp_hw_support/include/soc/cpu.h


+ 0 - 0
components/soc/include/soc/rtc_wdt.h → components/esp_hw_support/include/soc/rtc_wdt.h


+ 7 - 0
components/soc/include/soc/spinlock.h → components/esp_hw_support/include/soc/spinlock.h

@@ -21,6 +21,9 @@
 #include "soc/compare_set.h"
 #include "soc/compare_set.h"
 #include "xtensa/xtruntime.h"
 #include "xtensa/xtruntime.h"
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 
 #ifdef CONFIG_SPIRAM_WORKAROUND_NEED_VOLATILE_SPINLOCK
 #ifdef CONFIG_SPIRAM_WORKAROUND_NEED_VOLATILE_SPINLOCK
 #define NEED_VOLATILE_MUX volatile
 #define NEED_VOLATILE_MUX volatile
@@ -154,5 +157,9 @@ static inline void __attribute__((always_inline)) spinlock_release(spinlock_t *l
 #endif    
 #endif    
 }
 }
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 #endif
 
 

+ 1 - 0
components/soc/include/soc_log.h → components/esp_hw_support/include/soc_log.h

@@ -14,6 +14,7 @@
 
 
 #pragma once
 #pragma once
 #include "esp_rom_sys.h"
 #include "esp_rom_sys.h"
+
 /**
 /**
  * @file soc_log.h
  * @file soc_log.h
  * @brief SOC library logging functions
  * @brief SOC library logging functions

+ 11 - 0
components/esp_hw_support/linker.lf

@@ -0,0 +1,11 @@
+[mapping:esp_hw_support]
+archive: libesp_hw_support.a
+entries:
+    cpu_util (noflash_text)
+    rtc_clk (noflash)
+    rtc_init:rtc_vddsdio_set_config (noflash)
+    rtc_periph (noflash_text)
+    rtc_pm (noflash_text)
+    rtc_sleep (noflash_text)
+    rtc_time (noflash_text)
+    rtc_wdt (noflash_text)

+ 11 - 12
components/soc/src/esp32s2/CMakeLists.txt → components/esp_hw_support/port/esp32/CMakeLists.txt

@@ -1,18 +1,17 @@
-set(srcs
-        "rtc_clk.c"
-        "regi2c_ctrl.c"
-        "rtc_clk_init.c"
-        "rtc_init.c"
-        "rtc_pm.c"
-        "rtc_sleep.c"
-        "rtc_time.c"
-        "rtc_wdt.c"
-        "soc_memory_layout.c")
+target_include_directories(${COMPONENT_LIB} PUBLIC .)
+target_include_directories(${COMPONENT_LIB} PRIVATE private_include)
 
 
-add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
+set(srcs 
+    "rtc_clk.c"
+    "rtc_clk_init.c"
+    "rtc_init.c"
+    "rtc_pm.c"
+    "rtc_sleep.c"
+    "rtc_time.c"
+    "rtc_wdt.c")
 
 
+add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
 target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
 target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
-target_include_directories(${COMPONENT_LIB} PUBLIC . include)
 
 
 if(NOT CMAKE_BUILD_EARLY_EXPANSION)
 if(NOT CMAKE_BUILD_EARLY_EXPANSION)
     set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/rtc_clk.c" PROPERTIES
     set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/rtc_clk.c" PROPERTIES

+ 0 - 0
components/soc/soc/esp32/private_include/regi2c_apll.h → components/esp_hw_support/port/esp32/private_include/regi2c_apll.h


+ 0 - 0
components/soc/soc/esp32/private_include/regi2c_bbpll.h → components/esp_hw_support/port/esp32/private_include/regi2c_bbpll.h


+ 0 - 0
components/soc/src/esp32/regi2c_ctrl.h → components/esp_hw_support/port/esp32/regi2c_ctrl.h


+ 0 - 0
components/soc/src/esp32/rtc_clk.c → components/esp_hw_support/port/esp32/rtc_clk.c


+ 3 - 0
components/soc/src/esp32/rtc_clk_common.h → components/esp_hw_support/port/esp32/rtc_clk_common.h

@@ -14,6 +14,9 @@
 
 
 #pragma once
 #pragma once
 
 
+#include <stdint.h>
+#include <stdbool.h>
+
 #define MHZ (1000000)
 #define MHZ (1000000)
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus

+ 0 - 0
components/soc/src/esp32/rtc_clk_init.c → components/esp_hw_support/port/esp32/rtc_clk_init.c


+ 0 - 0
components/soc/src/esp32/rtc_init.c → components/esp_hw_support/port/esp32/rtc_init.c


+ 0 - 0
components/soc/src/esp32/rtc_pm.c → components/esp_hw_support/port/esp32/rtc_pm.c


+ 0 - 0
components/soc/src/esp32/rtc_sleep.c → components/esp_hw_support/port/esp32/rtc_sleep.c


+ 0 - 0
components/soc/src/esp32/rtc_time.c → components/esp_hw_support/port/esp32/rtc_time.c


+ 0 - 0
components/soc/src/esp32/rtc_wdt.c → components/esp_hw_support/port/esp32/rtc_wdt.c


+ 5 - 5
components/soc/src/esp32/CMakeLists.txt → components/esp_hw_support/port/esp32s2/CMakeLists.txt

@@ -1,4 +1,7 @@
-set(srcs
+target_include_directories(${COMPONENT_LIB} PUBLIC .)
+target_include_directories(${COMPONENT_LIB} PUBLIC private_include)
+
+set(srcs 
     "rtc_clk.c"
     "rtc_clk.c"
     "rtc_clk_init.c"
     "rtc_clk_init.c"
     "rtc_init.c"
     "rtc_init.c"
@@ -6,13 +9,10 @@ set(srcs
     "rtc_sleep.c"
     "rtc_sleep.c"
     "rtc_time.c"
     "rtc_time.c"
     "rtc_wdt.c"
     "rtc_wdt.c"
-    "soc_memory_layout.c"
-)
+    "regi2c_ctrl.c")
 
 
 add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
 add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
-
 target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
 target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
-target_include_directories(${COMPONENT_LIB} PUBLIC . include)
 
 
 if(NOT CMAKE_BUILD_EARLY_EXPANSION)
 if(NOT CMAKE_BUILD_EARLY_EXPANSION)
     set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/rtc_clk.c" PROPERTIES
     set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/rtc_clk.c" PROPERTIES

+ 0 - 0
components/soc/soc/esp32s2/private_include/regi2c_apll.h → components/esp_hw_support/port/esp32s2/private_include/regi2c_apll.h


+ 0 - 0
components/soc/soc/esp32s2/private_include/regi2c_bbpll.h → components/esp_hw_support/port/esp32s2/private_include/regi2c_bbpll.h


+ 0 - 0
components/soc/soc/esp32s2/private_include/regi2c_brownout.h → components/esp_hw_support/port/esp32s2/private_include/regi2c_brownout.h


+ 0 - 0
components/soc/soc/esp32s2/private_include/regi2c_saradc.h → components/esp_hw_support/port/esp32s2/private_include/regi2c_saradc.h


+ 0 - 0
components/soc/soc/esp32s2/private_include/regi2c_ulp.h → components/esp_hw_support/port/esp32s2/private_include/regi2c_ulp.h


+ 0 - 0
components/soc/src/esp32s2/regi2c_ctrl.c → components/esp_hw_support/port/esp32s2/regi2c_ctrl.c


+ 0 - 0
components/soc/src/esp32s2/regi2c_ctrl.h → components/esp_hw_support/port/esp32s2/regi2c_ctrl.h


+ 0 - 0
components/soc/src/esp32s2/rtc_clk.c → components/esp_hw_support/port/esp32s2/rtc_clk.c


+ 3 - 0
components/soc/src/esp32s2/rtc_clk_common.h → components/esp_hw_support/port/esp32s2/rtc_clk_common.h

@@ -14,6 +14,9 @@
 
 
 #pragma once
 #pragma once
 
 
+#include <stdint.h>
+#include <stdbool.h>
+
 #define MHZ (1000000)
 #define MHZ (1000000)
 
 
 #define DPORT_CPUPERIOD_SEL_80		0
 #define DPORT_CPUPERIOD_SEL_80		0

+ 0 - 0
components/soc/src/esp32s2/rtc_clk_init.c → components/esp_hw_support/port/esp32s2/rtc_clk_init.c


+ 0 - 0
components/soc/src/esp32s2/rtc_init.c → components/esp_hw_support/port/esp32s2/rtc_init.c


+ 0 - 0
components/soc/src/esp32s2/rtc_pm.c → components/esp_hw_support/port/esp32s2/rtc_pm.c


+ 0 - 0
components/soc/src/esp32s2/rtc_sleep.c → components/esp_hw_support/port/esp32s2/rtc_sleep.c


+ 0 - 0
components/soc/src/esp32s2/rtc_time.c → components/esp_hw_support/port/esp32s2/rtc_time.c


+ 0 - 0
components/soc/src/esp32s2/rtc_wdt.c → components/esp_hw_support/port/esp32s2/rtc_wdt.c


+ 10 - 10
components/soc/src/esp32s3/CMakeLists.txt → components/esp_hw_support/port/esp32s3/CMakeLists.txt

@@ -1,16 +1,16 @@
-set(srcs
-        "rtc_clk_init.c"
-        "rtc_clk.c"
-        "rtc_init.c"
-        "rtc_pm.c"
-        "rtc_sleep.c"
-        "rtc_time.c"
-        "soc_memory_layout.c")
+target_include_directories(${COMPONENT_LIB} PUBLIC .)
+target_include_directories(${COMPONENT_LIB} PUBLIC private_include)
 
 
-add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
+set(srcs 
+    "rtc_clk.c"
+    "rtc_clk_init.c"
+    "rtc_init.c"
+    "rtc_pm.c"
+    "rtc_sleep.c"
+    "rtc_time.c")
 
 
+add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
 target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
 target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
-target_include_directories(${COMPONENT_LIB} PUBLIC . include)
 
 
 if(NOT CMAKE_BUILD_EARLY_EXPANSION)
 if(NOT CMAKE_BUILD_EARLY_EXPANSION)
     set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/rtc_clk.c" PROPERTIES
     set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/rtc_clk.c" PROPERTIES

+ 0 - 0
components/soc/soc/esp32s3/private_include/regi2c_bbpll.h → components/esp_hw_support/port/esp32s3/private_include/regi2c_bbpll.h


+ 0 - 0
components/soc/soc/esp32s3/private_include/regi2c_brownout.h → components/esp_hw_support/port/esp32s3/private_include/regi2c_brownout.h


+ 0 - 0
components/soc/soc/esp32s3/private_include/regi2c_dig_reg.h → components/esp_hw_support/port/esp32s3/private_include/regi2c_dig_reg.h


+ 0 - 0
components/soc/soc/esp32s3/private_include/regi2c_ulp.h → components/esp_hw_support/port/esp32s3/private_include/regi2c_ulp.h


+ 0 - 0
components/soc/src/esp32s3/regi2c_ctrl.h → components/esp_hw_support/port/esp32s3/regi2c_ctrl.h


+ 0 - 0
components/soc/src/esp32s3/rtc_clk.c → components/esp_hw_support/port/esp32s3/rtc_clk.c


+ 3 - 0
components/soc/src/esp32s3/rtc_clk_common.h → components/esp_hw_support/port/esp32s3/rtc_clk_common.h

@@ -14,6 +14,9 @@
 
 
 #pragma once
 #pragma once
 
 
+#include <stdint.h>
+#include <stdbool.h>
+
 #define MHZ (1000000)
 #define MHZ (1000000)
 
 
 #define DPORT_CPUPERIOD_SEL_80      0
 #define DPORT_CPUPERIOD_SEL_80      0

+ 0 - 0
components/soc/src/esp32s3/rtc_clk_init.c → components/esp_hw_support/port/esp32s3/rtc_clk_init.c


+ 0 - 0
components/soc/src/esp32s3/rtc_init.c → components/esp_hw_support/port/esp32s3/rtc_init.c


+ 0 - 0
components/soc/src/esp32s3/rtc_pm.c → components/esp_hw_support/port/esp32s3/rtc_pm.c


+ 0 - 0
components/soc/src/esp32s3/rtc_sleep.c → components/esp_hw_support/port/esp32s3/rtc_sleep.c


+ 0 - 0
components/soc/src/esp32s3/rtc_time.c → components/esp_hw_support/port/esp32s3/rtc_time.c


+ 3 - 0
components/esp_hw_support/test/CMakeLists.txt

@@ -0,0 +1,3 @@
+idf_component_register(SRC_DIRS "."
+                    PRIV_INCLUDE_DIRS "${include_dirs}"
+                    PRIV_REQUIRES cmock test_utils esp_hw_support)

+ 0 - 0
components/soc/test/component.mk → components/esp_hw_support/test/component.mk


+ 0 - 0
components/soc/test/test_rtc_clk.c → components/esp_hw_support/test/test_rtc_clk.c


+ 1 - 2
components/fatfs/test_fatfs_host/Makefile.files

@@ -27,9 +27,8 @@ INCLUDE_DIRS := \
 		esp_system/include \
 		esp_system/include \
 		xtensa/include \
 		xtensa/include \
 		xtensa/esp32/include \
 		xtensa/esp32/include \
-		soc/soc/esp32/include \
+		soc/esp32/include \
 		soc/include \
 		soc/include \
-		soc/soc/include \
 		esp32/include \
 		esp32/include \
 		esp_common/include \
 		esp_common/include \
 		bootloader_support/include \
 		bootloader_support/include \

+ 0 - 0
components/soc/src/esp32s2/include/hal/memprot_peri_ll.h → components/hal/esp32s2/include/hal/memprot_peri_ll.h


+ 0 - 0
components/soc/include/hal/sha_hal.h → components/hal/include/hal/sha_hal.h


+ 1 - 1
components/lwip/test_afl_host/Makefile

@@ -2,7 +2,7 @@ COMPONENTS_DIR=../..
 COMPILER_ICLUDE_DIR=$(shell echo `which xtensa-esp32-elf-gcc | xargs dirname | xargs dirname`/xtensa-esp32-elf)
 COMPILER_ICLUDE_DIR=$(shell echo `which xtensa-esp32-elf-gcc | xargs dirname | xargs dirname`/xtensa-esp32-elf)
 CFLAGS=-std=gnu99 -Og -ggdb -ffunction-sections -fdata-sections -nostdlib -Wall  -Werror=all -Wno-int-to-pointer-cast -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-macro-redefined -Wno-constant-conversion -Wno-incompatible-pointer-types-discards-qualifiers -Wno-typedef-redefinition -Wno-incompatible-pointer-types  -Wextra \
 CFLAGS=-std=gnu99 -Og -ggdb -ffunction-sections -fdata-sections -nostdlib -Wall  -Werror=all -Wno-int-to-pointer-cast -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-macro-redefined -Wno-constant-conversion -Wno-incompatible-pointer-types-discards-qualifiers -Wno-typedef-redefinition -Wno-incompatible-pointer-types  -Wextra \
 -Wno-unused-parameter -Wno-sign-compare -Wno-address   -Wno-unused-variable -DESP_PLATFORM -D IDF_VER=\"v3.1\" -MMD -MP -DWITH_POSIX -DLWIP_NO_CTYPE_H=1
 -Wno-unused-parameter -Wno-sign-compare -Wno-address   -Wno-unused-variable -DESP_PLATFORM -D IDF_VER=\"v3.1\" -MMD -MP -DWITH_POSIX -DLWIP_NO_CTYPE_H=1
-INC_DIRS=-I . -I ./build/config -I $(COMPONENTS_DIR)/newlib/platform_include -I $(COMPONENTS_DIR)/newlib/include -I $(COMPONENTS_DIR)/driver/include -I $(COMPONENTS_DIR)/esp32/include -I $(COMPONENTS_DIR)/ethernet/include -I $(COMPONENTS_DIR)/freertos/include -I $(COMPONENTS_DIR)/heap/include -I $(COMPONENTS_DIR)/lwip/lwip/src/include  -I $(COMPONENTS_DIR)/lwip/include/apps -I $(COMPONENTS_DIR)/lwip/lwip/src/include/netif -I $(COMPONENTS_DIR)/lwip/lwip/src/include/posix -I $(COMPONENTS_DIR)/lwip/port/esp32/include -I $(COMPONENTS_DIR)/lwip/lwip/src/include/posix -I $(COMPONENTS_DIR)/lwip/include/apps/ping -I $(COMPONENTS_DIR)/lwip/include/apps/sntp  -I $(COMPONENTS_DIR)/soc/esp32/include -I $(COMPONENTS_DIR)/soc/include -I $(COMPONENTS_DIR)/tcpip_adapter/include -I $(COMPONENTS_DIR)/esp_rom/include  -I $(COMPONENTS_DIR)/esp_common/include -I $(COMPONENTS_DIR)/xtensa/include -I $(COMPONENTS_DIR)/xtensa/esp32/include -I $(COMPONENTS_DIR)/esp_wifi/include -I $(COMPONENTS_DIR)/esp_event/include -I $(COMPONENTS_DIR)/freertos/xtensa/include  -I $(COMPONENTS_DIR)/esp_system/include -I $(COMPONENTS_DIR)/esp_timer/include -I $(COMPONENTS_DIR)/soc/include -I $(COMPONENTS_DIR)/soc/soc/include -I $(COMPONENTS_DIR)/soc/src/esp32/include -I $(COMPONENTS_DIR)/soc/soc/esp32/include -I $(COMPONENTS_DIR)/esp_netif/include -I $(COMPONENTS_DIR)/esp_eth/include -I $(COMPONENTS_DIR)/esp_netif/lwip -I $(COMPONENTS_DIR)/hal/include -I $(COMPONENTS_DIR)/hal/esp32/include -I $(COMPILER_ICLUDE_DIR)/include
+INC_DIRS=-I . -I ./build/config -I $(COMPONENTS_DIR)/newlib/platform_include -I $(COMPONENTS_DIR)/newlib/include -I $(COMPONENTS_DIR)/driver/include -I $(COMPONENTS_DIR)/esp32/include -I $(COMPONENTS_DIR)/ethernet/include -I $(COMPONENTS_DIR)/freertos/include -I $(COMPONENTS_DIR)/heap/include -I $(COMPONENTS_DIR)/lwip/lwip/src/include  -I $(COMPONENTS_DIR)/lwip/include/apps -I $(COMPONENTS_DIR)/lwip/lwip/src/include/netif -I $(COMPONENTS_DIR)/lwip/lwip/src/include/posix -I $(COMPONENTS_DIR)/lwip/port/esp32/include -I $(COMPONENTS_DIR)/lwip/lwip/src/include/posix -I $(COMPONENTS_DIR)/lwip/include/apps/ping -I $(COMPONENTS_DIR)/lwip/include/apps/sntp  -I $(COMPONENTS_DIR)/soc/esp32/include -I $(COMPONENTS_DIR)/soc/include -I $(COMPONENTS_DIR)/tcpip_adapter/include -I $(COMPONENTS_DIR)/esp_rom/include  -I $(COMPONENTS_DIR)/esp_common/include -I $(COMPONENTS_DIR)/xtensa/include -I $(COMPONENTS_DIR)/xtensa/esp32/include -I $(COMPONENTS_DIR)/esp_wifi/include -I $(COMPONENTS_DIR)/esp_event/include -I $(COMPONENTS_DIR)/freertos/xtensa/include  -I $(COMPONENTS_DIR)/esp_system/include -I $(COMPONENTS_DIR)/esp_timer/include -I $(COMPONENTS_DIR)/soc/include -I $(COMPONENTS_DIR)/soc/include -I $(COMPONENTS_DIR)/soc/src/esp32/include -I $(COMPONENTS_DIR)/soc/esp32/include -I $(COMPONENTS_DIR)/esp_netif/include -I $(COMPONENTS_DIR)/esp_eth/include -I $(COMPONENTS_DIR)/esp_netif/lwip -I $(COMPONENTS_DIR)/hal/include -I $(COMPONENTS_DIR)/hal/esp32/include -I $(COMPILER_ICLUDE_DIR)/include
 TEST_NAME=test
 TEST_NAME=test
 FUZZ=afl-fuzz
 FUZZ=afl-fuzz
 GEN_CFG=generate_config
 GEN_CFG=generate_config

+ 2 - 2
components/mdns/test_afl_fuzz_host/Makefile

@@ -28,8 +28,8 @@ CFLAGS=-g -Wno-unused-value -Wno-missing-declarations -Wno-pointer-bool-conversi
                  -I$(COMPONENTS_DIR)/lwip/port/esp32/include \
                  -I$(COMPONENTS_DIR)/lwip/port/esp32/include \
                  -I$(COMPONENTS_DIR)/lwip/lwip/src/include/lwip/apps \
                  -I$(COMPONENTS_DIR)/lwip/lwip/src/include/lwip/apps \
                  -I$(COMPONENTS_DIR)/soc/include \
                  -I$(COMPONENTS_DIR)/soc/include \
-                 -I$(COMPONENTS_DIR)/soc/soc/include \
-                 -I$(COMPONENTS_DIR)/soc/soc/esp32/include \
+                 -I$(COMPONENTS_DIR)/soc/include \
+                 -I$(COMPONENTS_DIR)/soc/esp32/include \
                  -I$(COMPONENTS_DIR)/soc/src/esp32/include \
                  -I$(COMPONENTS_DIR)/soc/src/esp32/include \
                  -I$(COMPONENTS_DIR)/tcpip_adapter/include \
                  -I$(COMPONENTS_DIR)/tcpip_adapter/include \
                  -I$(COMPONENTS_DIR)/xtensa/include \
                  -I$(COMPONENTS_DIR)/xtensa/include \

+ 5 - 13
components/soc/CMakeLists.txt

@@ -1,16 +1,8 @@
-idf_build_get_property(target IDF_TARGET)
-
-idf_component_register(SRCS "src/cpu_util.c"
-                            "src/memory_layout_utils.c"
-                            "src/lldesc.c"
-                            "src/soc_include_legacy_warn.c"
-                            "src/compare_set.c"
-                       REQUIRES hal #cpu.h directly includes HAL header
+idf_component_register(SRCS "lldesc.c"
+                            "soc_include_legacy_warn.c"
+                            "memory_layout_utils.c"
                        INCLUDE_DIRS include
                        INCLUDE_DIRS include
-                       PRIV_REQUIRES ${target}
                        LDFRAGMENTS linker.lf)
                        LDFRAGMENTS linker.lf)
 
 
-add_subdirectory(soc)
-
-add_subdirectory(src/${target})
-target_link_libraries(${COMPONENT_LIB} PUBLIC "soc_${target}")
+idf_build_get_property(target IDF_TARGET)
+add_subdirectory(${target})

+ 2 - 25
components/soc/README.md

@@ -1,33 +1,10 @@
 ## `soc` ##
 ## `soc` ##
 
 
-The `soc` component provides provides hardware description and hardware support functionality for targets supported by ESP-IDF. This is reflected in the component's subdirectories:
-
-- `soc/include` - abstraction
-- `soc/soc` - description
-- `soc/src` - implementation
-
-#### `soc/include` ####
-
-`soc/include` contains header files which provide a hardware-agnostic interface to the SoC. The interface consists of
-function declarations and abstracted types that other, higher level components can make use of in order to have code portable to
-all targets ESP-IDF supports.
-
-The `soc` subdirectory contains other useful interface for SoC-level operations or concepts, such as the memory layout, spinlocks, etc.
-
-#### `soc/soc` ####
-
-The `soc/soc` subdirectory contains description of the underlying hardware:
+The `soc` component provides hardware description for targets supported by ESP-IDF.
 
 
     - `xxx_reg.h`   - defines registers related to the hardware
     - `xxx_reg.h`   - defines registers related to the hardware
     - `xxx_struct.h` - hardware description in C `struct`
     - `xxx_struct.h` - hardware description in C `struct`
     - `xxx_channel.h` - definitions for hardware with multiple channels
     - `xxx_channel.h` - definitions for hardware with multiple channels
     - `xxx_caps.h`  - features/capabilities of the hardware
     - `xxx_caps.h`  - features/capabilities of the hardware
     - `xxx_pins.h`  - pin definitions
     - `xxx_pins.h`  - pin definitions
-    - `xxx_periph.h/*.c`  - includes all headers related to a peripheral; declaration and definition of IO mapping for that hardware
-
-Since the hardware description is target-specific, there are subdirectories for each target containing copies of the files above.
-Furthermore, the files in this directory should be standalone, i.e. should not include files from outside directories.
-
-#### `soc/src` ####
-
-Provides the interface about the memory, I2C, and Real_Time Clock functions.
+    - `xxx_periph.h/*.c`  - includes all headers related to a peripheral; declaration and definition of IO mapping for that hardware

+ 2 - 12
components/soc/component.mk

@@ -1,14 +1,4 @@
-SOC_NAME := $(IDF_TARGET)
-
-COMPONENT_SRCDIRS := src
-COMPONENT_ADD_INCLUDEDIRS :=
-
-# Since there can be chip-specific HAL headers which can include the common
-# HAL header via include_next, process the build scripts here first so that
-# include directories appear first in the compile command.
--include $(COMPONENT_PATH)/src/$(SOC_NAME)/component.mk
-COMPONENT_ADD_INCLUDEDIRS += include
-
--include $(COMPONENT_PATH)/soc/component.mk
+COMPONENT_SRCDIRS := . $(IDF_TARGET)
+COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET) $(IDF_TARGET)/include 
 
 
 COMPONENT_ADD_LDFRAGMENTS += linker.lf
 COMPONENT_ADD_LDFRAGMENTS += linker.lf

+ 12 - 8
components/soc/soc/esp32/CMakeLists.txt → components/soc/esp32/CMakeLists.txt

@@ -1,18 +1,22 @@
-add_library(soc_esp32 STATIC
+set(srcs
     "adc_periph.c"
     "adc_periph.c"
     "dac_periph.c"
     "dac_periph.c"
     "gpio_periph.c"
     "gpio_periph.c"
+    "i2c_periph.c"
+    "i2s_periph.c"
+    "interrupts.c"
     "pcnt_periph.c"
     "pcnt_periph.c"
+    "ledc_periph.c"
     "rtc_io_periph.c"
     "rtc_io_periph.c"
     "rtc_periph.c"
     "rtc_periph.c"
     "sdio_slave_periph.c"
     "sdio_slave_periph.c"
     "sdmmc_periph.c"
     "sdmmc_periph.c"
-    "interrupts.c"
+    "soc_memory_layout.c"
     "spi_periph.c"
     "spi_periph.c"
-    "ledc_periph.c"
-    "i2s_periph.c"
-    "i2c_periph.c"
-    "uart_periph.c"
-    "touch_sensor_periph.c")
+    "touch_sensor_periph.c"
+    "uart_periph.c")
+
+add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
 
 
-target_include_directories(soc_esp32 PUBLIC include ../include private_include)
+target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
+target_include_directories(${COMPONENT_LIB} PUBLIC . include)

+ 0 - 0
components/soc/soc/esp32/adc_periph.c → components/soc/esp32/adc_periph.c


+ 0 - 0
components/soc/soc/esp32/dac_periph.c → components/soc/esp32/dac_periph.c


+ 0 - 0
components/soc/soc/esp32/gpio_periph.c → components/soc/esp32/gpio_periph.c


+ 0 - 0
components/soc/soc/esp32/i2c_periph.c → components/soc/esp32/i2c_periph.c


+ 0 - 0
components/soc/soc/esp32/i2s_periph.c → components/soc/esp32/i2s_periph.c


+ 0 - 0
components/soc/soc/esp32/include/soc/adc_channel.h → components/soc/esp32/include/soc/adc_channel.h


+ 0 - 0
components/soc/soc/esp32/include/soc/apb_ctrl_reg.h → components/soc/esp32/include/soc/apb_ctrl_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/apb_ctrl_struct.h → components/soc/esp32/include/soc/apb_ctrl_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/bb_reg.h → components/soc/esp32/include/soc/bb_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/boot_mode.h → components/soc/esp32/include/soc/boot_mode.h


+ 0 - 0
components/soc/soc/esp32/include/soc/can_periph.h → components/soc/esp32/include/soc/can_periph.h


+ 0 - 0
components/soc/soc/esp32/include/soc/can_struct.h → components/soc/esp32/include/soc/can_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/clkout_channel.h → components/soc/esp32/include/soc/clkout_channel.h


+ 0 - 0
components/soc/soc/esp32/include/soc/dac_channel.h → components/soc/esp32/include/soc/dac_channel.h


+ 0 - 0
components/soc/soc/esp32/include/soc/dport_access.h → components/soc/esp32/include/soc/dport_access.h


+ 0 - 0
components/soc/soc/esp32/include/soc/dport_reg.h → components/soc/esp32/include/soc/dport_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/efuse_reg.h → components/soc/esp32/include/soc/efuse_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/emac_dma_struct.h → components/soc/esp32/include/soc/emac_dma_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/emac_ext_struct.h → components/soc/esp32/include/soc/emac_ext_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/emac_mac_struct.h → components/soc/esp32/include/soc/emac_mac_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/fe_reg.h → components/soc/esp32/include/soc/fe_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/frc_timer_reg.h → components/soc/esp32/include/soc/frc_timer_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/gpio_pins.h → components/soc/esp32/include/soc/gpio_pins.h


+ 0 - 0
components/soc/soc/esp32/include/soc/gpio_reg.h → components/soc/esp32/include/soc/gpio_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/gpio_sd_reg.h → components/soc/esp32/include/soc/gpio_sd_reg.h


+ 0 - 0
components/soc/soc/esp32/include/soc/gpio_sd_struct.h → components/soc/esp32/include/soc/gpio_sd_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/gpio_sig_map.h → components/soc/esp32/include/soc/gpio_sig_map.h


+ 0 - 0
components/soc/soc/esp32/include/soc/gpio_struct.h → components/soc/esp32/include/soc/gpio_struct.h


+ 0 - 0
components/soc/soc/esp32/include/soc/hinf_reg.h → components/soc/esp32/include/soc/hinf_reg.h


Некоторые файлы не были показаны из-за большого количества измененных файлов