Skip to content

Commit b00964e

Browse files
committed
With a shorter delay than 500 we get a data overrun when using the nina as a storage module (write operation is slow)
1 parent 8ed7e93 commit b00964e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/tools/bin2json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import base64
66

77
CHUNK_SIZE = 256 # This is the chunk size of how the binary is split on the server side for not overloading the embedded device receive buffers.
8-
INTER_CHUNK_DELAY_MS = 250 # This is delay between 2 consecutive chunks so as to not over load the embedded device.
8+
INTER_CHUNK_DELAY_MS = 500 # This is delay between 2 consecutive chunks so as to not over load the embedded device.
99

1010
if len(sys.argv) != 3:
1111
print ("Usage: bin2json.py sketch.ota sketch.json")

0 commit comments

Comments
 (0)