summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-02 15:13:18 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-02 15:13:18 +1000
commit8f86fbfd6c34a4d03f2bd62e9dc1ff59c236b037 (patch)
treebd9a5010c75b09bb80a2d35325d63ea0ccb5f90e
parent41226e9a18dbde13b7d83495bb2d5c8fc9170e0a (diff)
downloadmicropython-8f86fbfd6c34a4d03f2bd62e9dc1ff59c236b037.tar.gz
micropython-8f86fbfd6c34a4d03f2bd62e9dc1ff59c236b037.zip
ports: Enable ure.sub() on stm32, esp8266 (not 512k) and esp32.
-rw-r--r--ports/esp32/mpconfigport.h1
-rw-r--r--ports/esp8266/mpconfigport.h1
-rw-r--r--ports/esp8266/mpconfigport_512k.h3
-rw-r--r--ports/stm32/mpconfigport.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h
index aeb8c44116..495861b659 100644
--- a/ports/esp32/mpconfigport.h
+++ b/ports/esp32/mpconfigport.h
@@ -122,6 +122,7 @@
#define MICROPY_PY_UZLIB (1)
#define MICROPY_PY_UJSON (1)
#define MICROPY_PY_URE (1)
+#define MICROPY_PY_URE_SUB (1)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UTIMEQ (1)
#define MICROPY_PY_UHASHLIB (1)
diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h
index a5b149d803..78967c31df 100644
--- a/ports/esp8266/mpconfigport.h
+++ b/ports/esp8266/mpconfigport.h
@@ -75,6 +75,7 @@
#define MICROPY_PY_UJSON (1)
#define MICROPY_PY_URANDOM (1)
#define MICROPY_PY_URE (1)
+#define MICROPY_PY_URE_SUB (1)
#define MICROPY_PY_USELECT (1)
#define MICROPY_PY_UTIME_MP_HAL (1)
#define MICROPY_PY_UZLIB (1)
diff --git a/ports/esp8266/mpconfigport_512k.h b/ports/esp8266/mpconfigport_512k.h
index 60c14883ef..df670d4c96 100644
--- a/ports/esp8266/mpconfigport_512k.h
+++ b/ports/esp8266/mpconfigport_512k.h
@@ -32,6 +32,9 @@
#undef MICROPY_PY_FRAMEBUF
#define MICROPY_PY_FRAMEBUF (0)
+#undef MICROPY_PY_URE_SUB
+#define MICROPY_PY_URE_SUB (0)
+
#undef MICROPY_PY_UCRYPTOLIB
#define MICROPY_PY_UCRYPTOLIB (0)
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index a038664e83..9149a5338e 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -127,6 +127,7 @@
#define MICROPY_PY_UZLIB (1)
#define MICROPY_PY_UJSON (1)
#define MICROPY_PY_URE (1)
+#define MICROPY_PY_URE_SUB (1)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UHASHLIB (1)
#define MICROPY_PY_UBINASCII (1)