mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(phy): update cert_test docs
This commit is contained in:
parent
22facff58c
commit
da4a0798f4
@ -13,7 +13,7 @@ Before project configuration and build, be sure to set the correct chip target u
|
||||
|
||||
### Hardware Required
|
||||
|
||||
* A development board with ESP32-C3/ESP32-S3/ SoC.
|
||||
* A development board with ESP32/ESP32-C2/ESP32-C3/ESP32-C6/ESP32-H2/ESP32-S2/ESP32-S3/ SoC.
|
||||
* A USB cable for Power supply and programming
|
||||
|
||||
### Configure the project
|
||||
@ -34,11 +34,6 @@ Run `idf.py -p PORT flash monitor` to build, flash and monitor the project.
|
||||
|
||||
(To exit the serial monitor, type ``Ctrl-]``.)
|
||||
|
||||
See the Getting Started Guide for all the steps to configure and use the ESP-IDF to build projects.
|
||||
|
||||
* [ESP-IDF Getting Started Guide on ESP32-C3](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/index.html)
|
||||
* [ESP-IDF Getting Started Guide on ESP32-S3](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/get-started/index.html)
|
||||
|
||||
## Example Output
|
||||
|
||||
The command and output logs for each test are as follows:
|
||||
|
@ -1,9 +1,10 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "nvs_flash.h"
|
||||
|
||||
#include "esp_console.h"
|
||||
@ -38,7 +39,7 @@ void app_main(void)
|
||||
register_phy_cmd();
|
||||
|
||||
/* rftest.a requirements */
|
||||
#ifndef CONFIG_IDF_TARGET_ESP32H2
|
||||
#if CONFIG_SOC_WIFI_SUPPORTED
|
||||
esp_wifi_power_domain_on();
|
||||
#endif
|
||||
|
||||
@ -46,12 +47,17 @@ void app_main(void)
|
||||
esp_phy_rftest_init();
|
||||
#endif
|
||||
|
||||
int help_index = 1;
|
||||
printf("\n ==================================================\n");
|
||||
printf(" | RF certification test |\n");
|
||||
printf(" | |\n");
|
||||
printf(" | 1. Print 'help' to gain overview of commands |\n");
|
||||
printf(" | 2. Wi-Fi certification test |\n");
|
||||
printf(" | 3. Bluetooth certification test |\n");
|
||||
#if CONFIG_SOC_WIFI_SUPPORTED
|
||||
printf(" | %d. Wi-Fi certification test |\n", ++help_index);
|
||||
#endif
|
||||
#if CONFIG_SOC_BT_SUPPORTED
|
||||
printf(" | %d. Bluetooth certification test |\n", ++help_index);
|
||||
#endif
|
||||
printf(" | |\n");
|
||||
printf(" =================================================\n\n");
|
||||
|
||||
|
@ -3,6 +3,8 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "esp_log.h"
|
||||
|
Loading…
Reference in New Issue
Block a user