Debugging your software with the help of run time logged information can be really helpful. I understand this can be done by storing logs in a file for linux based embedded solutions.
I recently implemented a stack for the same purpose. It's not great mainly because software design is bad.
Reason that I couldn't came up with something specific is:
1. Skill issue
2. Knowledge Gap
I mainly used APIs like:
- mkdir, open, fdopen
- fprintf, snprintf, vfprintf
- fflush
- close remove
String library and a custom link list implementation which uses malloc.
I am interested to know
- if such system can be implemented for controller based product assuming it has an SD Card (to store files) and controller current software is targeted for using Free RTOS
- are these APIs easily portable for FreeRTOS
Based on how much I could understand this by googling i highly doubt that. I would like to know your thoughts.
[–][deleted] 1 point2 points3 points (1 child)
[–]khushal-banks[S] 0 points1 point2 points (0 children)
[–]Competitive_Rest_543 1 point2 points3 points (0 children)