From 1b11064b83c2305478e492aa0219069f4c09fb79 Mon Sep 17 00:00:00 2001 From: none Date: Thu, 17 Sep 2020 09:56:34 +0200 Subject: [PATCH] let files be bigger --- apps/octonet/flash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/octonet/flash.c b/apps/octonet/flash.c index a71886f..adad2fc 100644 --- a/apps/octonet/flash.c +++ b/apps/octonet/flash.c @@ -996,10 +996,12 @@ static int flashcmp(struct ddflash *ddf, int fs, uint32_t addr, uint32_t maxlen, return -1; len = off - fw_off; lseek(fs, fw_off, SEEK_SET); +#if 0 if (len > maxlen) { printf("file too big\n"); return -1; } +#endif //printf("flash file len %u, compare to %08x in flash: ", len, addr); for (j = 0; j < len; j += bl, addr += bl) { if (len - j < bl)