summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-11-28 10:12:46 -0500
committerDan Halbert <halbert@halwitz.org>2020-11-28 10:12:46 -0500
commit28d9e9186e6a9a153217535bd2d9f144672846bb (patch)
tree3a7e033b0aeef5b0714375451c3782441e7b53b9 /ports
parent2830cc9433dc9954c781c5351f3051dcacaaa467 (diff)
Disable complex arithmetic on SAMD21 builds to make space
Diffstat (limited to 'ports')
-rw-r--r--ports/atmel-samd/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h
index ed10da9b9..bce89e0b9 100644
--- a/ports/atmel-samd/mpconfigport.h
+++ b/ports/atmel-samd/mpconfigport.h
@@ -42,6 +42,7 @@
#define CIRCUITPY_MCU_FAMILY samd21
#define MICROPY_PY_SYS_PLATFORM "Atmel SAMD21"
#define SPI_FLASH_MAX_BAUDRATE 8000000
+#define MICROPY_PY_BUILTINS_COMPLEX (0)
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
#define MICROPY_PY_FUNCTION_ATTRS (0)
// MICROPY_PY_UJSON depends on MICROPY_PY_IO