mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
refactor(soc): create soc include folders
This commit is contained in:
parent
f0a2091e4d
commit
65f49c6a7b
@ -14,9 +14,15 @@ endif()
|
||||
set(includes "include" "${target_folder}")
|
||||
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/include")
|
||||
# miscellaneous headers, like definitions, man-made register headers, wrappers, etc.
|
||||
list(APPEND includes "${target_folder}/include")
|
||||
endif()
|
||||
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
||||
# register headers that generated by script from CSV
|
||||
list(APPEND includes "${target_folder}/register")
|
||||
endif()
|
||||
|
||||
if(target STREQUAL "esp32")
|
||||
list(APPEND srcs "${target_folder}/dport_access.c")
|
||||
endif()
|
||||
|
@ -7,4 +7,8 @@ The `soc` component provides hardware description for targets supported by ESP-I
|
||||
- `xxx_channel.h` - definitions for hardware with multiple channels
|
||||
- `xxx_caps.h` - features/capabilities of the hardware
|
||||
- `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
|
||||
- `xxx_periph.h/*.c` - includes all headers related to a peripheral; declaration and definition of IO mapping for that hardware
|
||||
|
||||
Specially, the `xxx_reg.h` and `xxx_struct.h` headers that generated by script are under `register/soc` folder. Please DO NOT **add** other manual coded files under this folder.
|
||||
|
||||
For other soc headers that are used as wrapper, definition, signaling, mapping or manual coded registers, please add them under `include/soc` folder.
|
||||
|
0
components/soc/esp32/register/soc/.gitkeep
Normal file
0
components/soc/esp32/register/soc/.gitkeep
Normal file
0
components/soc/esp32c2/register/soc/.gitkeep
Normal file
0
components/soc/esp32c2/register/soc/.gitkeep
Normal file
0
components/soc/esp32c3/register/soc/.gitkeep
Normal file
0
components/soc/esp32c3/register/soc/.gitkeep
Normal file
0
components/soc/esp32c5/register/soc/.gitkeep
Normal file
0
components/soc/esp32c5/register/soc/.gitkeep
Normal file
0
components/soc/esp32c6/register/soc/.gitkeep
Normal file
0
components/soc/esp32c6/register/soc/.gitkeep
Normal file
0
components/soc/esp32c61/register/soc/.gitkeep
Normal file
0
components/soc/esp32c61/register/soc/.gitkeep
Normal file
0
components/soc/esp32h2/register/soc/.gitkeep
Normal file
0
components/soc/esp32h2/register/soc/.gitkeep
Normal file
0
components/soc/esp32p4/register/soc/.gitkeep
Normal file
0
components/soc/esp32p4/register/soc/.gitkeep
Normal file
0
components/soc/esp32s2/register/soc/.gitkeep
Normal file
0
components/soc/esp32s2/register/soc/.gitkeep
Normal file
0
components/soc/esp32s3/register/soc/.gitkeep
Normal file
0
components/soc/esp32s3/register/soc/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user