Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this run on the ESP32? #6

Open
KonstantinSchubert opened this issue Jan 28, 2021 · 3 comments
Open

Does this run on the ESP32? #6

KonstantinSchubert opened this issue Jan 28, 2021 · 3 comments

Comments

@KonstantinSchubert
Copy link

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?

@KonstantinSchubert
Copy link
Author

PS: Awesome library.

@edmund-huber
Copy link
Contributor

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.

@KonstantinSchubert
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants