diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-13 15:31:30 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-13 15:31:30 +0100 |
commit | 6eb17c31a926f33428817277ba36bd4950f3500d (patch) | |
tree | 55301d23ce16be8c72bea8739413e79f1050012d | |
parent | c33df193bfbc09dc5c3b62db6507ad1a79e92ea6 (diff) | |
download | micropython-6eb17c31a926f33428817277ba36bd4950f3500d.tar.gz micropython-6eb17c31a926f33428817277ba36bd4950f3500d.zip |
ports: Disable async/await on bare-arm, minimal, pic16bit, cc3200.
It costs 1188 bytes of code on Thumb 2 archs.
-rw-r--r-- | bare-arm/mpconfigport.h | 1 | ||||
-rw-r--r-- | cc3200/mpconfigport.h | 1 | ||||
-rw-r--r-- | minimal/mpconfigport.h | 1 | ||||
-rw-r--r-- | pic16bit/mpconfigport.h | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h index fe92dd4b71..caf37419af 100644 --- a/bare-arm/mpconfigport.h +++ b/bare-arm/mpconfigport.h @@ -20,6 +20,7 @@ #define MICROPY_ENABLE_DOC_STRING (0) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE) #define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (0) +#define MICROPY_PY_ASYNC_AWAIT (0) #define MICROPY_PY_BUILTINS_BYTEARRAY (0) #define MICROPY_PY_BUILTINS_MEMORYVIEW (0) #define MICROPY_PY_BUILTINS_ENUMERATE (0) diff --git a/cc3200/mpconfigport.h b/cc3200/mpconfigport.h index fd645618da..d4774adf3e 100644 --- a/cc3200/mpconfigport.h +++ b/cc3200/mpconfigport.h @@ -75,6 +75,7 @@ #define MICROPY_STREAMS_NON_BLOCK (1) #define MICROPY_MODULE_WEAK_LINKS (1) #define MICROPY_CAN_OVERRIDE_BUILTINS (1) +#define MICROPY_PY_ASYNC_AWAIT (0) #define MICROPY_PY_BUILTINS_TIMEOUTERROR (1) #define MICROPY_PY_ALL_SPECIAL_METHODS (1) #ifndef DEBUG diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h index e055f3c801..95e216b129 100644 --- a/minimal/mpconfigport.h +++ b/minimal/mpconfigport.h @@ -22,6 +22,7 @@ #define MICROPY_ENABLE_DOC_STRING (0) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE) #define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (0) +#define MICROPY_PY_ASYNC_AWAIT (0) #define MICROPY_PY_BUILTINS_BYTEARRAY (0) #define MICROPY_PY_BUILTINS_MEMORYVIEW (0) #define MICROPY_PY_BUILTINS_ENUMERATE (0) diff --git a/pic16bit/mpconfigport.h b/pic16bit/mpconfigport.h index 4921d7be2a..af30296935 100644 --- a/pic16bit/mpconfigport.h +++ b/pic16bit/mpconfigport.h @@ -43,6 +43,7 @@ #define MICROPY_ENABLE_SOURCE_LINE (0) #define MICROPY_ENABLE_DOC_STRING (0) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE) +#define MICROPY_PY_ASYNC_AWAIT (0) #define MICROPY_PY_BUILTINS_BYTEARRAY (0) #define MICROPY_PY_BUILTINS_MEMORYVIEW (0) #define MICROPY_PY_BUILTINS_FROZENSET (0) |