| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- commit 17d8f8f7f5c1cabdb2712cdc03da2e262a6d74b8
- Author: Oliver Fabel <28701799+ofabel@users.noreply.github.com>
- Date: Fri Sep 27 07:46:27 2024 +0200
- library update
- diff --git a/mp_flipper_halport.c b/mp_flipper_halport.c
- index 50ba441c5..e1f883a11 100644
- --- a/mp_flipper_halport.c
- +++ b/mp_flipper_halport.c
- @@ -32,3 +32,7 @@ mp_import_stat_t mp_import_stat(const char* path) {
-
- return MP_IMPORT_STAT_NO_EXIST;
- }
- +
- +size_t gc_get_max_new_split(void) {
- + return mp_flipper_gc_get_max_new_split();
- +}
- \ No newline at end of file
- diff --git a/mp_flipper_halport.h b/mp_flipper_halport.h
- index cecd8fe76..161d7a43f 100644
- --- a/mp_flipper_halport.h
- +++ b/mp_flipper_halport.h
- @@ -15,3 +15,5 @@ void mp_flipper_stdout_tx_str(const char* str);
- void mp_flipper_stdout_tx_strn_cooked(const char* str, size_t len);
-
- mp_flipper_import_stat_t mp_flipper_import_stat(const char* path);
- +
- +size_t mp_flipper_gc_get_max_new_split();
- diff --git a/mpconfigport.h b/mpconfigport.h
- index 9ab3e3119..b87e68c34 100644
- --- a/mpconfigport.h
- +++ b/mpconfigport.h
- @@ -12,8 +12,8 @@ typedef int32_t mp_int_t; // must be pointer size
- typedef uint32_t mp_uint_t; // must be pointer size
- typedef long mp_off_t;
-
- -#define MICROPY_GC_SPLIT_HEAP (0)
- -#define MICROPY_GC_SPLIT_HEAP_AUTO (0)
- +#define MICROPY_GC_SPLIT_HEAP (1)
- +#define MICROPY_GC_SPLIT_HEAP_AUTO (1)
-
- #define MICROPY_MPHALPORT_H "mp_flipper_halport.h"
-
|