Skip to content

Commit fb5005a

Browse files
committed
fix addFlashArea()
1 parent e568c6c commit fb5005a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/esp32/jshardware.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ JsVar *jshFlashGetFree() {
736736
// Space reserved here in the parition table - using sub type 0x40
737737
// This should be read from the partition table
738738
addFlashArea(jsFreeFlash, 0xE000, 0x2000);
739-
addFlashArea(jsFreeFlash, 0x2B0000, 0x10000);
739+
addFlashArea(jsFreeFlash, 0x310000, 0x10000);
740740

741741
return jsFreeFlash;
742742
}

0 commit comments

Comments
 (0)