esp_wifi: re-enable build wifi example

This commit is contained in:
Chen Jian Xing
2020-06-02 17:38:22 +08:00
committed by Jiang Jiang Jian
parent 738e9f76fd
commit ebb2caa940
6 changed files with 14 additions and 10 deletions
-3
View File
@@ -1,6 +1,3 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# ESPNOW Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)
-3
View File
@@ -1,6 +1,3 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# Iperf Example
## Note about iperf version
-3
View File
@@ -1,6 +1,3 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# Simple Sniffer Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)
@@ -9,7 +9,8 @@ menu "Example Configuration"
choice SNIFFER_PCAP_DESTINATION
prompt "Select destination to store pcap file"
default SNIFFER_PCAP_DESTINATION_SD
default SNIFFER_PCAP_DESTINATION_SD if IDF_TARGET_ESP32
default SNIFFER_PCAP_DESTINATION_JTAG if IDF_TARGET_ESP32S2
help
Select where to store the pcap file.
Currently support storing files to SD card or to host via JTAG interface.
@@ -19,8 +19,10 @@
#include "esp_wifi.h"
#include "esp_err.h"
#include "esp_log.h"
#if CONFIG_SNIFFER_PCAP_DESTINATION_SD
#include "driver/sdmmc_host.h"
#include "driver/sdspi_host.h"
#endif
#include "nvs_flash.h"
#include "sdmmc_cmd.h"
#include "cmd_system.h"