Skip to content

Commit f620c29

Browse files
committed
Set a small but working heap size for esp32 without psram
1 parent ea52ca6 commit f620c29

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/supervisor

1 file changed

+1
-1
lines changed

ports/espressif/supervisor/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static size_t spiram_size_usable_for_malloc(void) {
106106
// exclusively.
107107
#ifdef CONFIG_IDF_TARGET_ESP32
108108
// TODO: Determine better: 520kB of internal RAM; similar to 512kB for ESP32-S3.
109-
#define HEAP_SIZE (176 * 1024)
109+
#define HEAP_SIZE (48 * 1024)
110110
#endif
111111
#ifdef CONFIG_IDF_TARGET_ESP32S2
112112
#define HEAP_SIZE (48 * 1024)

0 commit comments

Comments
 (0)