Armando 1e1beb69aa spi: fix build fail issue when target is esp32s3 5 ani în urmă
..
include 2bcf99527c soc: move out rtc_hal to hal component 5 ani în urmă
soc 1e1beb69aa spi: fix build fail issue when target is esp32s3 5 ani în urmă
src 7f5893d53c soc: move dac_hal to hal 5 ani în urmă
test 01d9aa8070 soc: move mpu_hal test to hal component 5 ani în urmă
CMakeLists.txt 6d7606aee5 soc: remove unecessary compile line include dir orderding control 5 ani în urmă
README.md 5baf124219 docs: update readme aftering extracting hal document from soc document 5 ani în urmă
component.mk 5425ef4ee4 hal: extract hal component from soc component 5 ani în urmă
linker.lf 5425ef4ee4 hal: extract hal component from soc component 5 ani în urmă

README.md

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:

- `xxx_reg.h`   - defines registers related to the hardware
- `xxx_struct.h` - hardware description in C `struct`
- `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

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.