Skip to content

Commit 1ba9ce0

Browse files
committed
Increase update file size in format sketch
1 parent 9d4b6c5 commit 1ba9ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/PortentaMCUBootQSPIFormat/PortentaMCUBootQSPIFormat.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void create_update_file(void) {
4242
char buffer[128] = {0xFF};
4343
int size=0;
4444

45-
while(size < 768 * 1024) {
45+
while(size < 15 * 128 * 1024) {
4646
int ret = fwrite(buffer, 128, 1, fp);
4747
if(ret != 1) {
4848
Serial.println("Error writing scratch file");

0 commit comments

Comments
 (0)