diff --git a/components/esp_phy/CMakeLists.txt b/components/esp_phy/CMakeLists.txt index a8b3bff068..6b74f3803c 100644 --- a/components/esp_phy/CMakeLists.txt +++ b/components/esp_phy/CMakeLists.txt @@ -74,6 +74,11 @@ if(link_binary_libs) target_link_libraries(${COMPONENT_LIB} INTERFACE $ libphy.a libbtbb.a $) endif() + + if(CONFIG_ESP_PHY_ENABLE_CERT_TEST) + target_link_libraries(${COMPONENT_LIB} INTERFACE $ libbttestmode.a + librfate.a librftest.a $) + endif() endif() if(CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION) diff --git a/components/esp_phy/Kconfig b/components/esp_phy/Kconfig index f31edc8a75..03d293ca35 100644 --- a/components/esp_phy/Kconfig +++ b/components/esp_phy/Kconfig @@ -114,4 +114,11 @@ menu "PHY" When using USB Serial/JTAG/OTG/CDC, PHY should enable USB, otherwise USB module can not work properly. Notice: Enabling this configuration option will slightly impact wifi performance. + config ESP_PHY_ENABLE_CERT_TEST + bool "Enable rf cert test" + default n + help + If enabled, You can use rf cert test APIs. + Currently only ESP32-C3/S3 is supported. + endmenu # PHY diff --git a/components/esp_phy/lib b/components/esp_phy/lib index 1b8e12d3e0..c38381964b 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit 1b8e12d3e0e8b7bcd87c115f09ec0f385700579a +Subproject commit c38381964b48fe53dac584b74eefec62fc86511b