examples/simple_sniffer: only enable apptrace if JTAG is selected

Fixes compilation of this example on esp32c3, where apptrace is not
yet supported.
This commit is contained in:
Ivan Grokhotkov
2021-03-11 13:42:24 +01:00
committed by bot
parent a560a506f2
commit d7e8537dfa
2 changed files with 1 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ menu "Example Configuration"
Store pcap file to SD card.
config SNIFFER_PCAP_DESTINATION_JTAG
bool "JTAG (App Trace)"
select APPTRACE_DEST_TRAX
help
Store pcap file to host via JTAG interface.
endchoice

View File

@@ -19,7 +19,3 @@ CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
# FatFS
CONFIG_FATFS_LFN_HEAP=y
CONFIG_FATFS_MAX_LFN=31
# App trace
CONFIG_APPTRACE_DEST_TRAX=y
CONFIG_APPTRACE_ENABLE=y