Skip to content

Commit 4d70014

Browse files
committed
increase test partitions
Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 23c5e31 commit 4d70014

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/platforms/esp32/test/main/test_erl_sources/test_esp_partition.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ start() ->
2525
[
2626
{<<"nvs">>, 1, 2, 16#9000, 16#6000, []},
2727
{<<"phy_init">>, 1, 1, 16#f000, 16#1000, []},
28-
{<<"factory">>, 0, 0, 16#10000, 16#2C0000, []},
29-
{<<"lib.avm">>, 1, 1, 16#2D0000, 16#40000, []},
30-
{<<"main.avm">>, 1, 1, 16#310000, 16#40000, []},
31-
{<<"data">>, 1, 1, 16#350000, 16#10000, []}
28+
{<<"factory">>, 0, 0, 16#10000, 16#2E0000, []},
29+
{<<"lib.avm">>, 1, 1, 16#2F0000, 16#40000, []},
30+
{<<"main.avm">>, 1, 1, 16#330000, 16#40000, []},
31+
{<<"data">>, 1, 1, 16#370000, 16#10000, []}
3232
] = esp:partition_list(),
3333
ok = esp:partition_erase_range(<<"data">>, 0),
3434
ok = esp:partition_write(<<"data">>, 0, <<"hello">>),

src/platforms/esp32/test/partitions.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
1111
nvs, data, nvs, 0x9000, 0x6000,
1212
phy_init, data, phy, 0xf000, 0x1000,
13-
factory, app, factory, 0x10000, 0x2C0000,
14-
lib.avm, data, phy, 0x2D0000, 0x40000,
15-
main.avm, data, phy, 0x310000, 0x40000,
16-
data, data, phy, 0x350000, 0x10000
13+
factory, app, factory, 0x10000, 0x2E0000,
14+
lib.avm, data, phy, 0x2F0000, 0x40000,
15+
main.avm, data, phy, 0x330000, 0x40000,
16+
data, data, phy, 0x370000, 0x10000

0 commit comments

Comments
 (0)