ring_log
ring_log copied to clipboard
Does this run on the ESP32?
Apologies in advance: This is a question, not an issue.
Does this code run on the ESP32?
I can see that your code opens files to write to them - and I know on the ESP32 supports a FAT file system.
But the documentation there suggests that I need to run some config/bootstrap calls before I can use the POSIX file open/write/read/close functions from the C library : https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/fatfs.html#using-fatfs-with-vfs
I presume that your code does NOT handle this FatFs initialization process and that's something I need to handle myself before I start logging?
PS: Awesome library.
Hi Konstantin. It's been some time since I looked at this code to be completely honest. That said: I believe ring_log_arch_freertos.c
should work for esp32, since last I worked on esp32, the OS was a FreeRTOS fork. If you have success with this library, let me know, also I'm very happy to accept patches, or if you want to fork that's okay too.
Hi @edmund-huber I made a fork, but mostly as a backup for myself.
I have also noticed that the esp32 libraries contain a lot of references to FreeRTOS, so I think you're right.