{mimxrt,powerpc,samd}/mpconfigport: Don't override parse chunk alloc.

This was copied from minimal/mpconfigport.h, but it doesn't make sense
for general ports.

Add a comment to minimal/mpconfigport.h to explain why it specifically
overrides it.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/12537/head
Jim Mussared 2023-09-28 14:57:51 +10:00 zatwierdzone przez Damien George
rodzic 77ae0a0948
commit 79473691f2
4 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -42,7 +42,6 @@ uint32_t trng_random_u32(void);
#else
#define MICROPY_GC_STACK_ENTRY_TYPE uint16_t
#endif
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (32)
#define MICROPY_ALLOC_PATH_MAX (256)
// MicroPython emitters

Wyświetl plik

@ -17,6 +17,8 @@
#define MICROPY_ENABLE_EXTERNAL_IMPORT (1)
#define MICROPY_ALLOC_PATH_MAX (256)
// Use the minimum headroom in the chunk allocator for parse nodes.
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (16)
// type definitions for the specific machine

Wyświetl plik

@ -38,7 +38,6 @@
#define MICROPY_QSTR_BYTES_IN_HASH (1)
#define MICROPY_QSTR_EXTRA_POOL mp_qstr_frozen_const_pool
#define MICROPY_ALLOC_PATH_MAX (256)
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (16)
#define MICROPY_EMIT_X64 (0)
#define MICROPY_EMIT_THUMB (0)
#define MICROPY_EMIT_INLINE_THUMB (0)

Wyświetl plik

@ -34,7 +34,6 @@
// Memory allocation policies
#define MICROPY_GC_STACK_ENTRY_TYPE uint16_t
#define MICROPY_GC_ALLOC_THRESHOLD (0)
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (32)
#define MICROPY_ALLOC_PATH_MAX (256)
#define MICROPY_QSTR_BYTES_IN_HASH (1)