diff --git a/firmware/sdkconfig.defaults b/firmware/sdkconfig.defaults index d083adb..94f7d4a 100644 --- a/firmware/sdkconfig.defaults +++ b/firmware/sdkconfig.defaults @@ -26,12 +26,6 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=4096 # `std::thread::Builder::new().stack_size(XXX)` for spawning CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=4096 -# Raise the compile-time log ceiling so the sdmmc/sdspi drivers' per-command -# DEBUG logs (the raw R1 response bytes) are built in. Runtime level stays INFO -# by default; the SD spike bumps just the sdmmc/sdspi tags to DEBUG so we can see -# exactly what each init command returns. (Diagnostic for Spike 3 init failures.) -CONFIG_LOG_MAXIMUM_LEVEL_DEBUG=y - # FatFS long filenames (Spike 3 — SD). Default is 8.3-only, which rejects the # persistence module's atomic-save temp name (`notes.md.tmp` has two dots). # LFN on the heap keeps the working buffer off the (small) task stack. diff --git a/firmware/src/bin/sd_fat.rs b/firmware/src/bin/sd_fat.rs index b07b751..089bb30 100644 --- a/firmware/src/bin/sd_fat.rs +++ b/firmware/src/bin/sd_fat.rs @@ -81,13 +81,6 @@ fn main() -> Result<()> { log::info!("Typoena — Spike 3 (SD/FAT on shared SPI2), {BUILD_TAG}"); - // Diagnostic: surface the sdmmc/sdspi drivers' per-command DEBUG logs (the - // raw R1 response bytes) so an init failure shows *which* command the card - // rejects and with what response — not just the final propagated error. - for tag in [c"sdmmc_sd", c"sdmmc_cmd", c"sdmmc_init", c"sdspi_transaction", c"sdspi_host"] { - unsafe { sys::esp_log_level_set(tag.as_ptr(), sys::esp_log_level_t_ESP_LOG_DEBUG) }; - } - match run() { Ok(()) => { log::info!("✅ Spike 3 complete — mount + atomic write/fsync/rename/read-back on shared bus")