dhylands / rshell

Remote Shell for MicroPython
MIT License
955 stars 137 forks source link

Change buffer size for pi pico to 256 #168

Closed ilan-schemoul closed 8 months ago

ilan-schemoul commented 3 years ago

With the current version with a 128KB buffer size I'm unable to copy a file that has a size of 4126 KB : https://github.com/peterhinch/micropython_remote/blob/58acc0a7ffabdb198671619833c20f95cbe42df9/rx/__init__.py I have timeout everytime. I tried increasing the timeout from 20ms to 5 seconds, it did not help but increasing the buffer size to 256kb helped. But maybe there's a reason behind 128kb which would make this PR not relevant ?

ilan-schemoul commented 8 months ago

@dhylands should I close this ?