Pull most of sdcard stuff out into sdcard.c; Common SPI init; Enable PSRAM; Start separating SD card stuff from SNIFFER_PCAP_DESTINATION_SD

This commit is contained in:
Michael Ehrenreich
2026-03-15 03:31:36 +01:00
parent ccae238622
commit a03bd89bff
8 changed files with 331 additions and 184 deletions
+2
View File
@@ -1,5 +1,7 @@
idf_component_register(SRCS "simple_sniffer_example_main.c"
"cmd_sniffer.c"
"cmd_pcap.c"
"sdcard.c"
PRIV_REQUIRES console esp_wifi fatfs esp_eth app_trace nvs_flash
INCLUDE_DIRS ".")