feat(ulp): add lp uart support for ULP on S31

This commit is contained in:
Marius Vikhammer
2026-04-29 16:20:43 +08:00
parent 926250ab61
commit 66d1d594e4
14 changed files with 38 additions and 10 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ examples/system/ulp/lp_core/lp_touch:
examples/system/ulp/lp_core/lp_uart/lp_uart_char_seq_wakeup:
disable:
- if: (SOC_ULP_LP_UART_SUPPORTED != 1)
- if: (SOC_ULP_LP_UART_SUPPORTED != 1) or (SOC_DEEP_SLEEP_SUPPORTED != 1)
<<: *ulp_default_depends
depends_components+:
- esp_hal_uart
@@ -13,7 +13,7 @@ This example demonstrates how to use LP UART in specific character sequence wake
### Hardware Required
To run this example, you should have an ESP based development board which supports LP UART wakeup such as the ESP32-C6 and a host machine with a serial input connection.
To run this example, you should have an ESP based development board which supports LP UART wakeup such as the ESP32-C6 or ESP32-S31 and a host machine with a serial input connection.
#### Pin Assignment:
@@ -24,6 +24,7 @@ To run this example, you should have an ESP based development board which suppor
| ESP32-C6 | GPIO4 | GPIO5 |
| ESP32-C5 | GPIO4 | GPIO5 |
| ESP32-P4 | GPIO15 | GPIO14 |
| ESP32-S31 | GPIO7 | GPIO6 |
| Host machine | Tx | Rx |
### Build and Flash
@@ -24,6 +24,7 @@ To run this example, you should have an ESP based development board that support
| ESP32-C6 | GPIO4 | GPIO5 |
| ESP32-C5 | GPIO4 | GPIO5 |
| ESP32-P4 | GPIO15 | GPIO14 |
| ESP32-S31 | GPIO7 | GPIO6 |
| Host machine | Tx | Rx |
### Build and Flash
@@ -25,6 +25,7 @@ To run this example, you should have an ESP based development board that support
| ESP32-C6 | GPIO5 |
| ESP32-C5 | GPIO5 |
| ESP32-P4 | GPIO14 |
| ESP32-S31 | GPIO6 |
| Host machine | Rx |
### Build and Flash