2019-06-28 15:36:08 -04:00
|
|
|
# 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
|
|
|
|
|
2019-07-24 14:21:27 -04:00
|
|
|
# Internal math library is substantially smaller than toolchain one
|
2019-06-28 15:36:08 -04:00
|
|
|
INTERNAL_LIBM = 1
|
|
|
|
|
2019-07-24 14:21:27 -04:00
|
|
|
# Chip supplied serial number, in bytes
|
2019-08-15 16:35:01 -04:00
|
|
|
USB_SERIAL_NUMBER_LENGTH = 24
|
2019-06-28 15:36:08 -04:00
|
|
|
|
2019-07-24 14:21:27 -04:00
|
|
|
# Longints can be implemented as mpz, as longlong, or not
|
2019-06-28 15:36:08 -04:00
|
|
|
LONGINT_IMPL = MPZ
|
|
|
|
|
2019-07-24 14:21:27 -04:00
|
|
|
#Reduced feature set for early port
|
|
|
|
CIRCUITPY_MINIMAL_BUILD = 1
|
2019-06-28 15:36:08 -04:00
|
|
|
|
2019-08-18 19:23:52 -04:00
|
|
|
CIRCUITPY_BOARD = 1
|
|
|
|
CIRCUITPY_DIGITALIO = 1
|
|
|
|
CIRCUITPY_MICROCONTROLLER = 1
|
|
|
|
CIRCUITPY_BUSIO = 1
|
|
|
|
CIRCUITPY_TIME = 1
|
|
|
|
|
2019-08-07 18:12:13 -04:00
|
|
|
#ifeq ($(MCU_SUB_VARIANT), stm32f412zx)
|
2019-08-18 19:08:27 -04:00
|
|
|
#endif
|