summaryrefslogtreecommitdiff
path: root/ports/nrf/mpconfigport.mk
diff options
context:
space:
mode:
authormicrobuilder <contact@microbuilder.eu>2017-12-21 13:49:14 +0100
committermicrobuilder <contact@microbuilder.eu>2017-12-21 13:49:14 +0100
commit60a23f0fb65bebe91ab8b6da4a32ed0b012e9313 (patch)
tree19bb9f08ff161357e8633cea1ec5044c6436ef7a /ports/nrf/mpconfigport.mk
parent36ec29d4e85b19487c868287f09d2492eecc0274 (diff)
nRF52 update with internal file system support
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