Skip to content

Commit be30513

Browse files
committed
add section storage as flash area
1 parent fb5005a commit be30513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/esp32/jshardware.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,9 +735,9 @@ JsVar *jshFlashGetFree() {
735735
if (!jsFreeFlash) return 0;
736736
// Space reserved here in the parition table - using sub type 0x40
737737
// This should be read from the partition table
738-
addFlashArea(jsFreeFlash, 0xE000, 0x2000);
738+
addFlashArea(jsFreeFlash, 0xE000, 0x2000);
739739
addFlashArea(jsFreeFlash, 0x310000, 0x10000);
740-
740+
addFlashArea(jsFreeFlash, 0x360000, 0xA0000);
741741
return jsFreeFlash;
742742
}
743743

0 commit comments

Comments
 (0)