Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste Buffer Size Issue with ESP8266 #79

Open
segallis opened this issue Dec 7, 2023 · 0 comments
Open

Paste Buffer Size Issue with ESP8266 #79

segallis opened this issue Dec 7, 2023 · 0 comments

Comments

@segallis
Copy link

segallis commented Dec 7, 2023

When pasting large blocks of code in the webrepl browser window to the ESP8266 , the code is truncated to about 256 bytes due to the buffer size on the ESP8266. After living with the limitation I finally got around to trying to fix this problem. I made the following changes to webrepl.js and now the browser side inserts a 100 ms gap between chunks of 250 byte of pasted data, so all pasted data gets through. The gap can be adjusted if 100 ms is insufficient for some devices (100 ms appears for work for the ESP01 I have tried it on).

delay_on_paste.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant