move longint choice to mpconfigport.mk

This commit is contained in:
Dan Halbert 2021-01-21 22:50:15 -05:00
parent f39ca0a1d6
commit e8e8c593ac
3 changed files with 3 additions and 2 deletions

View File

@ -7,4 +7,3 @@ CHIP_VARIANT = RP2040
CHIP_FAMILY = rp2 CHIP_FAMILY = rp2
INTERNAL_FLASH_FILESYSTEM = 1 INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = MPZ

View File

@ -7,4 +7,3 @@ CHIP_VARIANT = RP2040
CHIP_FAMILY = rp2 CHIP_FAMILY = rp2
INTERNAL_FLASH_FILESYSTEM = 1 INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = MPZ

View File

@ -14,6 +14,9 @@ ifeq ($(LONGINT_IMPL),LONGLONG)
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=longlong MPY_TOOL_LONGINT_IMPL = -mlongint-impl=longlong
endif endif
# All raspberrypi ports have longints.
LONGINT_IMPL = MPZ
ifndef CIRCUITPY_RP2PIO ifndef CIRCUITPY_RP2PIO
CIRCUITPY_RP2PIO = 1 CIRCUITPY_RP2PIO = 1
else else