Skip to content
Snippets Groups Projects
Commit 74177a26 authored by Johan Jansen's avatar Johan Jansen
Browse files

px4_uploader: Push program bytes faster by using bigger blocks

parent a8f9caaa
No related branches found
No related tags found
No related merge requests found
......@@ -169,8 +169,8 @@ class uploader(object):
INFO_BOARD_REV = b'\x03' # board revision
INFO_FLASH_SIZE = b'\x04' # max firmware size in bytes
PROG_MULTI_MAX = 60 # protocol max is 255, must be multiple of 4
READ_MULTI_MAX = 60 # protocol max is 255, something overflows with >= 64
PROG_MULTI_MAX = 252 # protocol max is 255, must be multiple of 4
READ_MULTI_MAX = 252 # protocol max is 255
NSH_INIT = bytearray(b'\x0d\x0d\x0d')
NSH_REBOOT_BL = b"reboot -b\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment