Commit 75ec22bf authored by Damien George's avatar Damien George
Browse files

py: #if guard qstrs that are optional.

Also disable gc module on bare-arm port.
parent 105e32f1
......@@ -17,6 +17,7 @@
#define MICROPY_PY_BUILTINS_SET (0)
#define MICROPY_PY_BUILTINS_SLICE (0)
#define MICROPY_PY_BUILTINS_PROPERTY (0)
#define MICROPY_PY_GC (0)
#define MICROPY_PY_ARRAY (0)
#define MICROPY_PY_COLLECTIONS (0)
#define MICROPY_PY_MATH (0)
......
......@@ -148,7 +148,9 @@ Q(enumerate)
Q(eval)
Q(exec)
Q(filter)
#if MICROPY_PY_BUILTINS_FLOAT
Q(float)
#endif
Q(from_bytes)
Q(getattr)
Q(globals)
......@@ -180,7 +182,6 @@ Q(range)
Q(read)
Q(repr)
Q(reversed)
Q(set)
Q(sorted)
Q(staticmethod)
Q(sum)
......@@ -229,20 +230,8 @@ Q(reverse)
Q(add)
Q(clear)
Q(copy)
Q(discard)
Q(difference)
Q(difference_update)
Q(intersection)
Q(intersection_update)
Q(isdisjoint)
Q(issubset)
Q(issuperset)
Q(pop)
Q(remove)
Q(symmetric_difference)
Q(symmetric_difference_update)
Q(union)
Q(update)
Q(find)
Q(rfind)
Q(rindex)
......@@ -272,6 +261,22 @@ Q(iterator)
Q(module)
Q(slice)
#if MICROPY_PY_BUILTINS_SET
Q(discard)
Q(difference)
Q(difference_update)
Q(intersection)
Q(intersection_update)
Q(isdisjoint)
Q(issubset)
Q(issuperset)
Q(set)
Q(symmetric_difference)
Q(symmetric_difference_update)
Q(union)
Q(update)
#endif
#if MICROPY_PY_BUILTINS_FROZENSET
Q(frozenset)
#endif
......@@ -327,9 +332,11 @@ Q(polar)
Q(rect)
#endif
#if MICROPY_MEM_STATS
Q(mem_total)
Q(mem_current)
Q(mem_peak)
#endif
#if MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF && (MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE == 0)
Q(alloc_emergency_exception_buf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment