summaryrefslogtreecommitdiff
path: root/ports/nrf/mpconfigport.mk
diff options
context:
space:
mode:
authorKevin Townsend <contact@microbuilder.eu>2017-11-23 09:22:11 +0100
committerKevin Townsend <contact@microbuilder.eu>2017-11-23 09:22:11 +0100
commit92113dde815ce5aaecf63ea9e87bc4addcabd822 (patch)
treed3813ad609755744b1223c0207e6d4a85f6864fc /ports/nrf/mpconfigport.mk
parenta38d8948b3b22a7b3f84284f765578a8edeab3f5 (diff)
Supervisor REPL support for ports/nrf/boards/feather52
Diffstat (limited to 'ports/nrf/mpconfigport.mk')
-rw-r--r--ports/nrf/mpconfigport.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/nrf/mpconfigport.mk b/ports/nrf/mpconfigport.mk
new file mode 100644
index 000000000..dc29a92cf
--- /dev/null
+++ b/ports/nrf/mpconfigport.mk
@@ -0,0 +1,4 @@
+# Define an equivalent for MICROPY_LONGINT_IMPL, to pass to $(MPY-TOOL) in py/mkrules.mk
+# $(MPY-TOOL) needs to know what kind of longint to use (if any) to freeze long integers.
+# This should correspond to the MICROPY_LONGINT_IMPL definition in mpconfigport.h.
+MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz