espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.47k stars 7.25k forks source link

Support phy/cert_test for ESP32 chip (IDFGH-10756) #11972

Closed doragasu closed 3 weeks ago

doragasu commented 1 year ago

Is your feature request related to a problem?

We are designing a product centered on the ESP32 chip. For the certification tests, we need access to the certification APIs, and currently they are only supported for ESP32-S3 and ESP32-C3.

Describe the solution you'd like.

We would like the certification APIs to be ported and made available for the ESP32 chip (including the phy/cert_test example included in latest esp-idf).

Describe alternatives you've considered.

We have considered using the certification test Windows application provided in Espressif webpage, but unfortunately it is not possible for us to use it because the system needs to configure additional peripherals for the board to work, and also during operation we have no direct access to the ESP32 UART.

Additional context.

No response

ibrahimuslu commented 1 year ago

It doesn't work for ESP32-S3 platform ESP-IDF v5.1.1-dirty

I (45) boot: ESP-IDF v5.1.1-dirty 2nd stage bootloader I (45) boot: compile time Oct 5 2023 10:25:11 I (45) boot: Multicore bootloader I (49) boot: chip revision: v0.2 I (53) boot.esp32s3: Boot SPI Speed : 80MHz I (57) boot.esp32s3: SPI Mode : DIO I (62) boot.esp32s3: SPI Flash Size : 4MB

error message is : Always gives following error:


Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Putty instead.

after following configuration option enabled on ssdkconfig. CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y

It is fixed

nhhai commented 1 year ago

Hi,

We're having this problem too. Built on espidf 5.1.1 and platformio 6.4.0:

example_app.c:447: undefined reference to `esp_phy_test_start_stop'
example_app.c:450: undefined reference to `esp_phy_ble_tx'
example_app.c:460: undefined reference to `esp_phy_ble_rx'

I added these to the include paths already:

${IDF_PATH}/components/esp_phy/esp32/include
${IDF_PATH}/components/esp_phy/include

Are there any workarounds to get this to work on the good old esp32 board?

rariman commented 1 year ago

Hello,

I am also trying to get cert_test to work on esp32, any thoughts?

Thanks

GustavoCarlos commented 7 months ago

Any update on this?

jzwyssig commented 3 months ago

Could you provide more details on the ESP32-C6? I noticed that the RF test tool binary includes an option for testing Thread/Zigbee channels. Are there specific header files available, similar to Bluetooth and Wi-Fi?