Damien George
Damien George
Running the above test (on Linux with /dev/ttyACM0 instead of COM6), using `mpremote run --no-follow mcu.py` to run the code on the rp2, it works OK for me. The PC...
Translation of above report: > Hello everyone. Could you please tell me how to get Neva meters connected via USB-RS485 to the \dev\ttyUSB0 or \dev\ttyACM0 ports to work in Home...
After discussing with @projectgus , we feel that this is a useful enhancement but maybe not worth the cost in code size. I think it would be possible to make...
Now that #17346 is merged, this PR can be updated on that.
> Looks like UBSan is proving its worth already Yay! Will be interesting to see how many of the warnings are actual errors.
> Drat, when I tested the code size improvement from unsigned `mp_parse_num()` with my compiler it was a benefit on all the ports I tested. But here it's mostly neutral,...
@projectgus I'm happy to squash my optimisation commit down into your commit (the one just prior to mine). I don't need the attribution for that.
Thanks @projectgus and @yoctopuce for your efforts here. Lots of small details have been addressed which is great!
Thanks for this. I will study it in detail. I also found the corresponding CPython issue and long discussion about this topic: https://github.com/python/cpython/issues/45921 . There's a lot of useful information...
> Don't you think it would make sense to document this function as requiring a 32 bytes output buffer, adding an `assert(buf_size >= 32)` at the beginning and simplifying these...