File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #define MICROPY_ENABLE_DYNRUNTIME (1)
21#define MICROPY_PY_BTREE (1)
32
43#include "py/dynruntime.h"
Original file line number Diff line number Diff line change 1- #define MICROPY_ENABLE_DYNRUNTIME (1)
21#define MICROPY_PY_FRAMEBUF (1)
32
43#include "py/dynruntime.h"
Original file line number Diff line number Diff line change 1- #define MICROPY_ENABLE_DYNRUNTIME (1)
21#define MICROPY_PY_UHEAPQ (1)
32
43#include "py/dynruntime.h"
Original file line number Diff line number Diff line change 1- #define MICROPY_ENABLE_DYNRUNTIME (1)
21#define MICROPY_PY_URANDOM (1)
32#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
43
Original file line number Diff line number Diff line change 1- #define MICROPY_ENABLE_DYNRUNTIME (1)
21#define MICROPY_STACK_CHECK (1)
32#define MICROPY_PY_URE (1)
43#define MICROPY_PY_URE_MATCH_GROUPS (1)
Original file line number Diff line number Diff line change 1- #define MICROPY_ENABLE_DYNRUNTIME (1)
21#define MICROPY_PY_UZLIB (1)
32
43#include "py/dynruntime.h"
Original file line number Diff line number Diff line change 3333#include "py/objstr.h"
3434#include "py/objtype.h"
3535
36+ #if !MICROPY_ENABLE_DYNRUNTIME
37+ #error "dynruntime.h included in non-dynamic-module build."
38+ #endif
39+
3640#undef MP_ROM_QSTR
3741#undef MP_OBJ_QSTR_VALUE
3842#undef MP_OBJ_NEW_QSTR
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ CFLAGS += -std=c99
2727CFLAGS += -Os
2828CFLAGS += -Wall -Werror -DNDEBUG
2929CFLAGS += -DNO_QSTR
30+ CFLAGS += -DMICROPY_ENABLE_DYNRUNTIME
3031CFLAGS += -DMP_CONFIGFILE='<$(CONFIG_H ) >'
3132CFLAGS += -fpic -fno-common
3233CFLAGS += -U _FORTIFY_SOURCE # prevent use of __*_chk libc functions
You can’t perform that action at this time.
0 commit comments