David Lechner 32f2120ec6 fix timeout when firmware size is 10x packet size
When the firmware blob is exactly a multiple of 10 times the packet
size, the last checksum request causes the reply to the last program
request to be missed (there is only a response from the hub to the very
last program request). The program response is received, then the
checksum response is received. Since the saga is waiting for the
checksum response first, the program response is discarded.

Fix by breaking out of the loop when the firmware has been fully
transferred before making the checksum request.

Fixes: pybricks/support#178
2020-12-18 14:09:54 -06:00
2020-12-10 15:31:22 -06:00
2020-07-15 13:01:56 -05:00
2020-11-20 21:08:53 -06:00
2020-11-20 21:08:53 -06:00
2020-06-10 21:59:34 -05:00
2020-07-03 20:29:19 -05:00
2020-04-08 19:23:19 -05:00
2020-06-08 20:56:00 -05:00
2020-06-17 16:52:21 -05:00
2020-05-22 19:54:48 -05:00
2020-12-11 16:53:44 -06:00
2020-07-15 13:01:56 -05:00
2020-12-11 16:53:44 -06:00

pybricks-code

A Web App for programming LEGO® Powered Up smart hubs using Pybricks MicroPython.

Try it at https://code.pybricks.com.

screenshot


LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project

S
Description
Web IDE for Pybricks
https://code.pybricks.com/
Readme MIT
52 MiB
Languages
TypeScript 90%
JavaScript 7.6%
SCSS 2.1%
HTML 0.2%
Python 0.1%