Skip to content

Commit a2d44da

Browse files
committed
adjusts default partition size for ESP32
1 parent 73f3168 commit a2d44da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

builder/esp32.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,10 @@ def compile(*args): # NOQA
13921392
if custom_board_path is None:
13931393

13941394
if partition_size == -1:
1395-
p_size = 0x25A000
1395+
if board == 'ESP32_GENERIC_P4':
1396+
p_size = 0x299000
1397+
else:
1398+
p_size = 0x264000
13961399
else:
13971400
p_size = partition_size
13981401

0 commit comments

Comments
 (0)