From c34e7b9d4c6f369cd86fd6fcc779932226200cdf Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 4 Mar 2020 17:07:42 +1100 Subject: py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module. So this setting could be used by other source files if needed. --- examples/natmod/btree/btree_c.c | 1 - examples/natmod/framebuf/framebuf.c | 1 - examples/natmod/uheapq/uheapq.c | 1 - examples/natmod/urandom/urandom.c | 1 - examples/natmod/ure/ure.c | 1 - examples/natmod/uzlib/uzlib.c | 1 - 6 files changed, 6 deletions(-) (limited to 'examples') diff --git a/examples/natmod/btree/btree_c.c b/examples/natmod/btree/btree_c.c index c8c5cef47..f3e4790ed 100644 --- a/examples/natmod/btree/btree_c.c +++ b/examples/natmod/btree/btree_c.c @@ -1,4 +1,3 @@ -#define MICROPY_ENABLE_DYNRUNTIME (1) #define MICROPY_PY_BTREE (1) #include "py/dynruntime.h" diff --git a/examples/natmod/framebuf/framebuf.c b/examples/natmod/framebuf/framebuf.c index 8f322c204..8d488cffd 100644 --- a/examples/natmod/framebuf/framebuf.c +++ b/examples/natmod/framebuf/framebuf.c @@ -1,4 +1,3 @@ -#define MICROPY_ENABLE_DYNRUNTIME (1) #define MICROPY_PY_FRAMEBUF (1) #include "py/dynruntime.h" diff --git a/examples/natmod/uheapq/uheapq.c b/examples/natmod/uheapq/uheapq.c index df880bd38..9da6bb4ad 100644 --- a/examples/natmod/uheapq/uheapq.c +++ b/examples/natmod/uheapq/uheapq.c @@ -1,4 +1,3 @@ -#define MICROPY_ENABLE_DYNRUNTIME (1) #define MICROPY_PY_UHEAPQ (1) #include "py/dynruntime.h" diff --git a/examples/natmod/urandom/urandom.c b/examples/natmod/urandom/urandom.c index 732e439ee..e1fed6a55 100644 --- a/examples/natmod/urandom/urandom.c +++ b/examples/natmod/urandom/urandom.c @@ -1,4 +1,3 @@ -#define MICROPY_ENABLE_DYNRUNTIME (1) #define MICROPY_PY_URANDOM (1) #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1) diff --git a/examples/natmod/ure/ure.c b/examples/natmod/ure/ure.c index 6c9e9e307..ca1383583 100644 --- a/examples/natmod/ure/ure.c +++ b/examples/natmod/ure/ure.c @@ -1,4 +1,3 @@ -#define MICROPY_ENABLE_DYNRUNTIME (1) #define MICROPY_STACK_CHECK (1) #define MICROPY_PY_URE (1) #define MICROPY_PY_URE_MATCH_GROUPS (1) diff --git a/examples/natmod/uzlib/uzlib.c b/examples/natmod/uzlib/uzlib.c index 4873171e5..99b369176 100644 --- a/examples/natmod/uzlib/uzlib.c +++ b/examples/natmod/uzlib/uzlib.c @@ -1,4 +1,3 @@ -#define MICROPY_ENABLE_DYNRUNTIME (1) #define MICROPY_PY_UZLIB (1) #include "py/dynruntime.h" -- cgit v1.2.3