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

This commit is contained in:
xiehang
2023-01-16 17:48:32 +08:00
parent fe979e6513
commit 9c8b7fc0dd
3 changed files with 13 additions and 1 deletions

View File

@@ -74,6 +74,11 @@ if(link_binary_libs)
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> libphy.a libbtbb.a target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> libphy.a libbtbb.a
$<TARGET_FILE:${esp_phy_lib}>) $<TARGET_FILE:${esp_phy_lib}>)
endif() 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() endif()
if(CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION) if(CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION)

View File

@@ -114,4 +114,11 @@ menu "PHY"
When using USB Serial/JTAG/OTG/CDC, PHY should enable USB, otherwise USB module 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. 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 endmenu # PHY