Closed drtorchwood closed 1 year ago
Yes, that would be an interesting option. But i don't have an example for this. Be careful with writes to SD card, this may trigger the watchdog if it's too slow, and you must ensure that access to the SD interface is mutexe'd, if shared bus lines are used.
Example, how it can be done. Could be added to sdcard.cpp (writing) and cyclic.cpp (flushing).
SD write is freshly prepared in code (sdcard.cpp), but for logging onto SD weed to wait until this bug is fixed in arduino-espressif32 framework.
@drtorchwood the SD serial log redirection feature was implemented today.
Hi there,
I'm looking for a simple way to redirect the serial output to the SD card. Is there any option available? I haven't found anything regarding this topic in the manual. I don't mean the "normal" paxcounter data but the debug log.
Thanks!