parent
28cd4fc7a5
commit
838a7ce848
@ -285,6 +285,11 @@ namespace pxt.editor {
|
||||
log("reset")
|
||||
return wrap.cortexM.reset(true)
|
||||
})
|
||||
.then(() => wrap.cortexM.memory.readBlock(0x10001014, 1, pageSize))
|
||||
.then(v => {
|
||||
if (HF2.read32(v, 0) != 0x3C000)
|
||||
U.userError(U.lf("Please flash any MakeCode hex file using drag and drop. Flashing from app will work afterwards."))
|
||||
})
|
||||
.then(() => getFlashChecksumsAsync(wrap))
|
||||
.then(buf => {
|
||||
checksums = buf
|
||||
|
Loading…
Reference in New Issue
Block a user