We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605753c commit 4683619Copy full SHA for 4683619
ports/broadcom/mpconfigport.mk
@@ -1,3 +1,22 @@
1
+# Define an equivalent for MICROPY_LONGINT_IMPL, to pass to $(MPY-TOOL) in py/mkrules.mk
2
+# $(MPY-TOOL) needs to know what kind of longint to use (if any) to freeze long integers.
3
+# This should correspond to the MICROPY_LONGINT_IMPL definition in mpconfigport.h.
4
+
5
+ifeq ($(LONGINT_IMPL),NONE)
6
+MPY_TOOL_LONGINT_IMPL = -mlongint-impl=none
7
+endif
8
9
+ifeq ($(LONGINT_IMPL),MPZ)
10
+MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
11
12
13
+ifeq ($(LONGINT_IMPL),LONGLONG)
14
+MPY_TOOL_LONGINT_IMPL = -mlongint-impl=longlong
15
16
17
+# All broadcom ports have longints.
18
+LONGINT_IMPL = MPZ
19
20
# Typically the first module to create
21
CIRCUITPY_MICROCONTROLLER = 1
22
# Typically the second module to create
0 commit comments