e107steved

Results 9 comments of e107steved

In principle, I don't see why not (assuming the rest of the software keeps running, and the LittleFS "state" in RAM remains untouched). However many flash chips require that you...

From readme.md (the front page): > The filesystem contains no unbounded recursion and dynamic memory is limited to configurable buffers that can be provided statically. Other than that, it's going...

Stack usage is going to depend not only on the chosen processor, but on the compiler used and the compile options chosen; so I don't see any alternative to measuring...

Look at the declaration for struct lfs_config in lfs.h, which is reasonably self-explanatory. There are also some more detailed explanations in the responses to some of the issues raised. Edit:...

Have a dedicated thread to manage the logging, with a queue of events to log. Then (provided the queue doesn't overflow) you've isolated littleFS from the rest of the application....

@geky should be able to comment better on whether this would work As a suggestion, set a flag in your low-level flash write routine at startup. Then write some data...

Not quite - weewx confuses the issue by adding a leading space to the units! I modified the template file to cover both eventualities: ` ## set pressure UoM to...

The fix has worked fine for nearly 24 hours now, so I think the principle is proven (it used to fail pretty much instantly).

I've just implemented gjr80's suggested change, and that's been working OK for 20 minutes or so now.