summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-11-30 13:47:56 -0800
committerGitHub <noreply@github.com>2020-11-30 13:47:56 -0800
commit98cf7f67d4c9bb69a8a97536656db3faf00fff82 (patch)
treea73702285068ae6fd73a670b11f6d99f8fb17d41 /ports
parent0f0bbd85c813c1635ecd29f28949b6734b235580 (diff)
parent9768951a2a42fd69f1f1adb0378a47e781d2fad7 (diff)
Merge pull request #3773 from dhalbert/no-samd21-complex-arithmetic
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