Browse Source

unix/mpconfigport: Enable MICROPY_ENABLE_FINALISER when VFS is used.

pull/9309/head
Andrew Leech 2 years ago
committed by Damien George
parent
commit
86676a43aa
  1. 2
      ports/unix/mpconfigport.h
  2. 2
      ports/unix/variants/minimal/mpconfigvariant.h

2
ports/unix/mpconfigport.h

@ -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)

2
ports/unix/variants/minimal/mpconfigvariant.h

@ -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)

Loading…
Cancel
Save