2020-04-17 16:23:28 -07: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 11:45:13 -05:00
|
|
|
USB_SERIAL_NUMBER_LENGTH = 12
|
2020-04-17 16:23:28 -07: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 13:02:26 -07:00
|
|
|
CIRCUITPY_FULL_BUILD = 1
|
2020-09-24 10:59:04 +05:30
|
|
|
CIRCUITPY_ALARM = 1
|
2020-10-30 10:05:16 -05:00
|
|
|
CIRCUITPY_AUDIOCORE = 1
|
|
|
|
CIRCUITPY_AUDIOMP3 = 0
|
|
|
|
CIRCUITPY_AUDIOBUSIO = 1
|
|
|
|
CIRCUITPY_AUDIOBUSIO_PDMIN = 0
|
|
|
|
CIRCUITPY_AUDIOBUSIO_I2SOUT = 1
|
2020-04-17 16:23:28 -07:00
|
|
|
CIRCUITPY_AUDIOIO = 0
|
2020-10-21 10:38:01 -05:00
|
|
|
CIRCUITPY_CANIO = 1
|
2020-10-28 20:08:25 +05:30
|
|
|
CIRCUITPY_COUNTIO = 1
|
2020-12-18 00:34:56 +05:30
|
|
|
CIRCUITPY_DUALBANK = 1
|
2020-11-16 00:11:00 +05:30
|
|
|
CIRCUITPY_FREQUENCYIO = 1
|
2020-08-04 18:40:24 -04:00
|
|
|
CIRCUITPY_I2CPERIPHERAL = 0
|
2020-10-28 00:12:13 +05:30
|
|
|
CIRCUITPY_ROTARYIO = 1
|
2020-11-11 23:11:12 +05:30
|
|
|
CIRCUITPY_NVM = 1
|
2020-09-03 16:32:12 -07:00
|
|
|
# We don't have enough endpoints to include MIDI.
|
|
|
|
CIRCUITPY_USB_MIDI = 0
|
2020-07-28 18:23:33 -07:00
|
|
|
CIRCUITPY_WIFI = 1
|
2020-11-10 16:32:46 +05:30
|
|
|
CIRCUITPY_WATCHDOG ?= 1
|
2020-08-14 15:56:01 -07:00
|
|
|
CIRCUITPY_ESPIDF = 1
|
2020-07-28 18:23:33 -07:00
|
|
|
|
2020-11-18 12:34:56 +05:30
|
|
|
ifndef CIRCUITPY_PS2IO
|
|
|
|
CIRCUITPY_PS2IO = 1
|
|
|
|
endif
|
|
|
|
|
2020-10-22 21:32:44 +05:30
|
|
|
ifndef CIRCUITPY_TOUCHIO_USE_NATIVE
|
|
|
|
CIRCUITPY_TOUCHIO_USE_NATIVE = 1
|
|
|
|
endif
|
|
|
|
|
2020-05-19 17:46:29 -07:00
|
|
|
CIRCUITPY_MODULE ?= none
|