Skip to content

Commit 11407c8

Browse files
committed
comment
1 parent 282de6d commit 11407c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/fwupdate/custom.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@
381381
function createJS_bootloader(binary, startAddress, endAddress) {
382382
var crc = CRC32(binary);
383383
console.log("CRC 0x"+crc.toString(16));
384+
// it is possible to do E.memoryArea(0xF7000,0x7000).match(/BL (2v[^\n]*)/) - can take 1s
384385
hexJS = `\x10if (E.CRC32(E.memoryArea(${startAddress},${endAddress-startAddress}))==${crc}) { print("DFU UP TO DATE!"); load();}\n`;
385386
hexJS += `\x10var _fw = new Uint8Array(${binary.length})\n`;
386387
var CHUNKSIZE = 1024;

0 commit comments

Comments
 (0)