feat(gpio): add support for ESP32P4

This commit is contained in:
Song Ruo Jing
2023-07-18 17:44:14 +08:00
parent 337aeb4b78
commit be9afeac86
52 changed files with 2499 additions and 6787 deletions

View File

@@ -62,11 +62,11 @@ The table below provides more information on pin usage, and please note the comm
- Strapping pin, RTC
* - GPIO10
- Analog comparator reference voltage
- ANA_CMPR_CH0 reference voltage
- RTC
* - GPIO11
- Analog comparator input (non-inverting)
- ANA_CMPR_CH0 input (non-inverting)
- RTC
* - GPIO12
@@ -139,7 +139,6 @@ The table below provides more information on pin usage, and please note the comm
- SPI0/1: GPIO15-21 are usually used for SPI flash and not recommended for other uses.
- USB-Serial-JTAG: GPIO 26 and 27 are used by USB-Serial-JTAG by default. In order to use them as GPIOs, USB-Serial-JTAG will be disabled by the drivers.
- For chip variants with an SiP flash built in, GPIO15 ~ GPIO21 are dedicated to connecting the SiP flash and are not fan-out to the external pins. In addition, GPIO6 ~ GPIO7 are also not fan-out to the external pins. In conclusion, only GPIO0~ GPIO5, GPIO8~ GPIO14, GPIO22~ GPIO27 are available to users.
- For chip variant without SiP flash, apart from the flash IOs mentioned above, GPIO22 is not fan-out to the external pin, thus they're not available to users.
- RTC: GPIO7-14 can be used to wake up the chip from Deep-sleep mode. Other GPIOs can only wake up the chip from Light-sleep mode. For more information, please refer to Section :ref:`Wakeup Sources<api-reference-wakeup-source>`.
---