Patrick Joy
Patrick Joy
Below is an implementation of the CPython RotatingFileHandler for consideration. ``` python class RotatingFileHandler(Handler): def __init__(self, filename, maxsize=128_000, backupCount=5): if maxsize < 256: raise ValueError("maxsize must be at least 256...
> I've removed ESP32 code as I was unable to test it. Great work. Do you still have a copy of the esp32 code, I would be more than happy...
> See original post for the links. See other repos. There should be some esp32 code. Thanks for the pointer, unfortunately I have struggled to integrate any of the linked...
Hi, Thanks for your help. You are correct I had compiled it for the ESP32 instead of the ESP32-S2! Unfortunately I still get the dangerous relocation with the new libraries...
This is brilliant, very nice, testing on ESP32-S3 currently.
@jimmo Might be a stupid question but how feasible/practical would it be to use a socket instead of sys.stdin/sys.stdout? Could this be used remotely over a network?
> `aiorepl` just uses stdin/stdout, but MicroPython supports redirecting (or duplicating) stdin/stdout to any stream you like. So for example, WebREPL and the BLE REPL will work automatically with `aiorepl`...
Have you tried mounting ota_1 with os.mount()?
If handlers are being added can a RotatingFileHandler be considered? Ported from cpython ```python class RotatingFileHandler(Handler): def __init__(self, filename, maxsize=128_000, backupCount=5): if maxsize < 256: raise ValueError("maxsize must be at...
I have a similar issue and I was wondering if anyone had any thoughts on this. My timeline plots work fine on their own, everything is aligned. ![Screenshot from 2024-01-28...