Kaynağa Gözat

esp_phy: Update esp32c3/s3 phy lib and add test lib

xiehang 3 yıl önce
ebeveyn
işleme
9c8b7fc0dd

+ 5 - 0
components/esp_phy/CMakeLists.txt

@@ -74,6 +74,11 @@ if(link_binary_libs)
         target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> libphy.a libbtbb.a
         $<TARGET_FILE:${esp_phy_lib}>)
     endif()
+
+    if(CONFIG_ESP_PHY_ENABLE_CERT_TEST)
+        target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> libbttestmode.a
+        librfate.a librftest.a $<TARGET_FILE:${esp_phy_lib}>)
+    endif()
 endif()
 
 if(CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION)

+ 7 - 0
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

+ 1 - 1
components/esp_phy/lib

@@ -1 +1 @@
-Subproject commit 1b8e12d3e0e8b7bcd87c115f09ec0f385700579a
+Subproject commit c38381964b48fe53dac584b74eefec62fc86511b