Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit c598feb

Browse files
committed
lower max_files from 8 to 3.
1 parent 2184f01 commit c598feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/vfs_native.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ STATIC mp_obj_t native_vfs_mount(mp_obj_t self_in, mp_obj_t readonly, mp_obj_t m
400400

401401
// mount the block device
402402
const esp_vfs_fat_mount_config_t mount_config = {
403-
.max_files = 8,
403+
.max_files = 3, // every open file costs 4236 bytes of heap.
404404
.format_if_mount_failed = true,
405405
};
406406

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy