From 33bbd87a8025b8ade6f17cd02f91c6506b971f1e Mon Sep 17 00:00:00 2001 From: muhaidong Date: Mon, 30 Mar 2026 10:59:56 +0800 Subject: [PATCH] feat(phy): support esp32c61 example cert test and antenna --- examples/phy/.build-test-rules.yml | 8 ++++---- examples/phy/antenna/README.md | 4 ++-- examples/phy/cert_test/README.md | 4 ++-- examples/phy/cert_test/sdkconfig.defaults.esp32c6 | 2 +- examples/phy/cert_test/sdkconfig.defaults.esp32c61 | 11 +++++++++++ 5 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 examples/phy/cert_test/sdkconfig.defaults.esp32c61 diff --git a/examples/phy/.build-test-rules.yml b/examples/phy/.build-test-rules.yml index 3ebe78f56ee..36bfd90d112 100644 --- a/examples/phy/.build-test-rules.yml +++ b/examples/phy/.build-test-rules.yml @@ -2,15 +2,15 @@ examples/phy/antenna: disable: - - if: IDF_TARGET in ["esp32c61", "esp32h21", "esp32h4"] + - if: IDF_TARGET in ["esp32h21", "esp32h4"] temporary: true - reason: not supported yet # TODO: [esp32c61] IDF-9859, [esp32h21] IDF-12041, [ESP32H4] IDF-12716 + reason: not supported yet # TODO: [esp32h21] IDF-12041, [ESP32H4] IDF-12716 - if: IDF_TARGET in ["esp32p4", "esp32h2"] reason: not supported examples/phy/cert_test: disable: - if: IDF_TARGET in ["esp32p4"] reason: not supported - - if: IDF_TARGET in ["esp32c61", "esp32h21", "esp32h4"] + - if: IDF_TARGET in ["esp32h21", "esp32h4"] temporary: true - reason: not supported yet # TODO: [esp32c61] IDF-9859, [esp32h21] IDF-12041, [ESP32H4] IDF-12716 + reason: not supported yet # TODO: [esp32h21] IDF-12041, [ESP32H4] IDF-12716 diff --git a/examples/phy/antenna/README.md b/examples/phy/antenna/README.md index d060d6ba536..235fb23c82a 100644 --- a/examples/phy/antenna/README.md +++ b/examples/phy/antenna/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | # Wi-Fi antenna soft switch Example diff --git a/examples/phy/cert_test/README.md b/examples/phy/cert_test/README.md index 5564c13ce27..952b61805ca 100644 --- a/examples/phy/cert_test/README.md +++ b/examples/phy/cert_test/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | # Certification Test Example diff --git a/examples/phy/cert_test/sdkconfig.defaults.esp32c6 b/examples/phy/cert_test/sdkconfig.defaults.esp32c6 index 1dce7aaed04..de8a0b8ed0e 100644 --- a/examples/phy/cert_test/sdkconfig.defaults.esp32c6 +++ b/examples/phy/cert_test/sdkconfig.defaults.esp32c6 @@ -1,5 +1,5 @@ # -# ESP32C6-specific +# ESP32C61-specific # CONFIG_COMMANDS_ENABLE_BLE_DTM_TEST=y diff --git a/examples/phy/cert_test/sdkconfig.defaults.esp32c61 b/examples/phy/cert_test/sdkconfig.defaults.esp32c61 new file mode 100644 index 00000000000..1dce7aaed04 --- /dev/null +++ b/examples/phy/cert_test/sdkconfig.defaults.esp32c61 @@ -0,0 +1,11 @@ +# +# ESP32C6-specific +# + +CONFIG_COMMANDS_ENABLE_BLE_DTM_TEST=y +CONFIG_BT_CONTROLLER_ONLY=y +CONFIG_BT_LE_DTM_ENABLED=y +CONFIG_BT_LE_HCI_INTERFACE_USE_UART=y +CONFIG_BT_LE_HCI_UART_TX_PIN=8 +CONFIG_BT_LE_HCI_UART_RX_PIN=9 +CONFIG_BT_LE_HCI_UART_BAUD=115200