From e0481f37bb14696462bd12faff7f70fa4a4fd667 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Mon, 4 Nov 2019 19:10:20 +0100 Subject: [PATCH] allow larger images --- apps/octonet/ddtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/octonet/ddtest.c b/apps/octonet/ddtest.c index e0626bd..fd5efe9 100644 --- a/apps/octonet/ddtest.c +++ b/apps/octonet/ddtest.c @@ -477,7 +477,7 @@ int FlashProg(int dev,int argc, char* argv[],uint32_t Flags) int fsize = lseek(fh,0,SEEK_END); - if( fsize > 4000000 || fsize < SectorSize ) + if( fsize > 5000000 || fsize < SectorSize ) { close(fh); printf("Invalid File Size \n");