mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
fix(phy): All chip support cert_test
This commit is contained in:
parent
28340977bd
commit
c53cedb947
@ -87,8 +87,16 @@ if(CONFIG_ESP_PHY_ENABLED)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_ESP_PHY_ENABLE_CERT_TEST)
|
if(CONFIG_ESP_PHY_ENABLE_CERT_TEST)
|
||||||
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> libbttestmode.a
|
if(CONFIG_IDF_TARGET_ESP32)
|
||||||
librfate.a librftest.a $<TARGET_FILE:${esp_phy_lib}>)
|
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> libbttestmode.a
|
||||||
|
librftest.a $<TARGET_FILE:${esp_phy_lib}>)
|
||||||
|
elseif(CONFIG_IDF_TARGET_ESP32S2)
|
||||||
|
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${esp_phy_lib}> librftest.a
|
||||||
|
librfate.a $<TARGET_FILE:${esp_phy_lib}>)
|
||||||
|
else()
|
||||||
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -130,7 +130,6 @@ menu "PHY"
|
|||||||
config ESP_PHY_ENABLE_CERT_TEST
|
config ESP_PHY_ENABLE_CERT_TEST
|
||||||
bool "Enable RF certification test functions"
|
bool "Enable RF certification test functions"
|
||||||
default n
|
default n
|
||||||
depends on IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3
|
|
||||||
help
|
help
|
||||||
If enabled, you can use RF certification test APIs.
|
If enabled, you can use RF certification test APIs.
|
||||||
|
|
||||||
|
@ -9,6 +9,6 @@ examples/phy/antenna:
|
|||||||
reason: not supported
|
reason: not supported
|
||||||
examples/phy/cert_test:
|
examples/phy/cert_test:
|
||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET in ["esp32c3", "esp32s3"]
|
- if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32s2", "esp32s3"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: the other targets are not tested yet
|
reason: the other targets are not tested yet
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C3 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Certification Test Example
|
# Certification Test Example
|
||||||
|
|
||||||
@ -121,4 +121,4 @@ For BLE test, if you want to use `fcc_le_tx` and `rw_le_rx_per` legacy commands
|
|||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
For any technical queries, please open an [issue](https://github.com/espressif/esp-idf/issues) on GitHub. We will get back to you soon.
|
For any technical queries, please open an [issue](https://github.com/espressif/esp-idf/issues) on GitHub. We will get back to you soon.
|
||||||
|
Loading…
Reference in New Issue
Block a user