Skip to content

Commit 156f417

Browse files
authored
Merge pull request micropython#8687 from bill88t/espcompile
Enable built-ins compile for all boards
2 parents 8f8e48c + 59f0674 commit 156f417

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ports/unix/variants/minimal/mpconfigvariant.h

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#define MICROPY_COMP_CONST_LITERAL (1)
4848
#define MICROPY_COMP_CONST_TUPLE (1)
4949
#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (1)
50-
#define MICROPY_ENABLE_COMPILER (1)
5150
#define MICROPY_ENABLE_EXTERNAL_IMPORT (1)
5251
#define MICROPY_FULL_CHECKS (1)
5352
#define MICROPY_HELPER_REPL (1)

py/circuitpy_mpconfig.h

+4
Original file line numberDiff line numberDiff line change
@@ -603,4 +603,8 @@ void background_callback_run_all(void);
603603

604604
#define MICROPY_PY_OPTIMIZE_PROPERTY_FLASH_SIZE (CIRCUITPY_OPTIMIZE_PROPERTY_FLASH_SIZE)
605605

606+
// Enable compiler functionality.
607+
#define MICROPY_ENABLE_COMPILER (1)
608+
#define MICROPY_PY_BUILTINS_COMPILE (1)
609+
606610
#endif // __INCLUDED_MPCONFIG_CIRCUITPY_H

0 commit comments

Comments
 (0)