diff --git a/ports/pic16bit/main.c b/ports/pic16bit/main.c index adb9276071..e6481bafb6 100644 --- a/ports/pic16bit/main.c +++ b/ports/pic16bit/main.c @@ -29,6 +29,7 @@ #include #include +#include "py/builtin.h" #include "py/compile.h" #include "py/runtime.h" #include "py/gc.h" diff --git a/ports/pic16bit/mpconfigport.h b/ports/pic16bit/mpconfigport.h index 52b1701ea3..e97a465028 100644 --- a/ports/pic16bit/mpconfigport.h +++ b/ports/pic16bit/mpconfigport.h @@ -29,6 +29,7 @@ // options to control how MicroPython is built #define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_B) #define MICROPY_ALLOC_PATH_MAX (64) +#define MICROPY_QSTR_BYTES_IN_HASH (1) #define MICROPY_EMIT_X64 (0) #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0)