2020-04-17 19:23:28 -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
|
|
|
|
|
|
|
|
# Internal math library is substantially smaller than toolchain one
|
|
|
|
INTERNAL_LIBM = 1
|
|
|
|
|
|
|
|
# Chip supplied serial number, in bytes
|
2020-07-15 12:45:13 -04:00
|
|
|
USB_SERIAL_NUMBER_LENGTH = 12
|
2020-04-17 19:23:28 -04:00
|
|
|
|
|
|
|
# Longints can be implemented as mpz, as longlong, or not
|
|
|
|
LONGINT_IMPL = MPZ
|
|
|
|
|
2020-08-04 18:40:24 -04:00
|
|
|
# These modules are implemented in ports/<port>/common-hal:
|
2020-09-15 16:02:26 -04:00
|
|
|
CIRCUITPY_FULL_BUILD = 1
|
2020-04-17 19:23:28 -04:00
|
|
|
CIRCUITPY_AUDIOBUSIO = 0
|
|
|
|
CIRCUITPY_AUDIOIO = 0
|
2020-10-21 11:38:01 -04:00
|
|
|
CIRCUITPY_CANIO = 1
|
2020-08-12 19:57:39 -04:00
|
|
|
CIRCUITPY_COUNTIO = 0
|
2020-08-04 18:40:24 -04:00
|
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
|
|
CIRCUITPY_I2CPERIPHERAL = 0
|
2020-08-12 19:57:39 -04:00
|
|
|
CIRCUITPY_ROTARYIO = 0
|
|
|
|
CIRCUITPY_NVM = 0
|
2020-09-03 19:32:12 -04:00
|
|
|
# We don't have enough endpoints to include MIDI.
|
|
|
|
CIRCUITPY_USB_MIDI = 0
|
2020-07-28 21:23:33 -04:00
|
|
|
CIRCUITPY_WIFI = 1
|
2020-08-14 18:56:01 -04:00
|
|
|
CIRCUITPY_ESPIDF = 1
|
2020-07-28 21:23:33 -04:00
|
|
|
|
2020-10-22 12:02:44 -04:00
|
|
|
ifndef CIRCUITPY_TOUCHIO_USE_NATIVE
|
|
|
|
CIRCUITPY_TOUCHIO_USE_NATIVE = 1
|
|
|
|
endif
|
|
|
|
|
2020-05-19 20:46:29 -04:00
|
|
|
CIRCUITPY_MODULE ?= none
|