unix/mpconfigport: Enable MICROPY_ENABLE_FINALISER when VFS is used.

This commit is contained in:
Andrew Leech 2022-09-12 08:41:39 +10:00 committed by Damien George
parent 4e0964b59f
commit 86676a43aa
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,6 @@
#ifndef MICROPY_OPT_MAP_LOOKUP_CACHE #ifndef MICROPY_OPT_MAP_LOOKUP_CACHE
#define MICROPY_OPT_MAP_LOOKUP_CACHE (1) #define MICROPY_OPT_MAP_LOOKUP_CACHE (1)
#endif #endif
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_STACK_CHECK (1) #define MICROPY_STACK_CHECK (1)
#define MICROPY_KBD_EXCEPTION (1) #define MICROPY_KBD_EXCEPTION (1)
#define MICROPY_HELPER_REPL (1) #define MICROPY_HELPER_REPL (1)
@ -124,6 +123,7 @@
#ifndef MICROPY_GC_SPLIT_HEAP_N_HEAPS #ifndef MICROPY_GC_SPLIT_HEAP_N_HEAPS
#define MICROPY_GC_SPLIT_HEAP_N_HEAPS (1) #define MICROPY_GC_SPLIT_HEAP_N_HEAPS (1)
#endif #endif
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_MALLOC_USES_ALLOCATED_SIZE (1) #define MICROPY_MALLOC_USES_ALLOCATED_SIZE (1)
#define MICROPY_MEM_STATS (1) #define MICROPY_MEM_STATS (1)
#define MICROPY_DEBUG_PRINTERS (1) #define MICROPY_DEBUG_PRINTERS (1)

View File

@ -37,8 +37,8 @@
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (64) #define MICROPY_ALLOC_PARSE_CHUNK_INIT (64)
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX) #define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
#define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_GC (1)
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_GC_ALLOC_THRESHOLD (0) #define MICROPY_GC_ALLOC_THRESHOLD (0)
#define MICROPY_ENABLE_FINALISER (0)
#define MICROPY_STACK_CHECK (0) #define MICROPY_STACK_CHECK (0)
#define MICROPY_COMP_CONST (0) #define MICROPY_COMP_CONST (0)
#define MICROPY_MEM_STATS (0) #define MICROPY_MEM_STATS (0)