forked from espressif/esp-idf
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:
@@ -20,6 +20,7 @@ menu "Example Configuration"
|
|||||||
Store pcap file to SD card.
|
Store pcap file to SD card.
|
||||||
config SNIFFER_PCAP_DESTINATION_JTAG
|
config SNIFFER_PCAP_DESTINATION_JTAG
|
||||||
bool "JTAG (App Trace)"
|
bool "JTAG (App Trace)"
|
||||||
|
select APPTRACE_DEST_TRAX
|
||||||
help
|
help
|
||||||
Store pcap file to host via JTAG interface.
|
Store pcap file to host via JTAG interface.
|
||||||
endchoice
|
endchoice
|
||||||
|
@@ -19,7 +19,3 @@ CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
|||||||
# FatFS
|
# FatFS
|
||||||
CONFIG_FATFS_LFN_HEAP=y
|
CONFIG_FATFS_LFN_HEAP=y
|
||||||
CONFIG_FATFS_MAX_LFN=31
|
CONFIG_FATFS_MAX_LFN=31
|
||||||
|
|
||||||
# App trace
|
|
||||||
CONFIG_APPTRACE_DEST_TRAX=y
|
|
||||||
CONFIG_APPTRACE_ENABLE=y
|
|
||||||
|
Reference in New Issue
Block a user