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
|
|
|
|
|
|
|
|
# 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
|
2021-07-03 04:34:55 -06:00
|
|
|
CIRCUITPY_AUDIOMIXER = 1
|
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
|
2021-05-13 11:19:55 -05:00
|
|
|
CIRCUITPY_FRAMEBUFFERIO = 1
|
2020-11-16 00:11:00 +05:30
|
|
|
CIRCUITPY_FREQUENCYIO = 1
|
2021-05-28 11:15:48 -05:00
|
|
|
CIRCUITPY_IMAGECAPTURE ?= 1
|
2020-08-04 18:40:24 -04:00
|
|
|
CIRCUITPY_I2CPERIPHERAL = 0
|
2021-05-13 11:19:55 -05:00
|
|
|
CIRCUITPY_RGBMATRIX = 1
|
2020-10-28 00:12:13 +05:30
|
|
|
CIRCUITPY_ROTARYIO = 1
|
2020-11-11 23:11:12 +05:30
|
|
|
CIRCUITPY_NVM = 1
|
2021-02-11 18:50:02 -05:00
|
|
|
CIRCUITPY_PS2IO ?= 1
|
|
|
|
CIRCUITPY_TOUCHIO_USE_NATIVE ?= 1
|
2021-08-03 13:39:57 -05:00
|
|
|
CIRCUITPY_WIFI ?= 1
|
2020-11-10 16:32:46 +05:30
|
|
|
CIRCUITPY_WATCHDOG ?= 1
|
2020-11-18 12:34:56 +05:30
|
|
|
|
2021-02-11 18:50:02 -05:00
|
|
|
CIRCUITPY_ESPIDF = 1
|
2020-10-22 21:32:44 +05:30
|
|
|
|
2020-05-19 17:46:29 -07:00
|
|
|
CIRCUITPY_MODULE ?= none
|
2021-02-11 18:50:02 -05:00
|
|
|
|
2021-05-13 21:49:04 -04:00
|
|
|
# From the ESP32-S2 datasheet:
|
|
|
|
#
|
|
|
|
# Endpoint number 0 always present (bi-directional, consisting of EP0 IN and EP0 OUT)
|
|
|
|
# Six additional endpoints (endpoint numbers 1 to 6), configurable as IN or OUT
|
|
|
|
# Maximum of five IN endpoints concurrently active at any time (including EP0 IN)
|
|
|
|
#
|
|
|
|
# Due to the limited number of endpoints, some USB devices will be off by default.
|
|
|
|
# For instance MIDI is available, but the device is turned off. It can be turned on
|
|
|
|
# only if something else is turned off, such as HID.
|
|
|
|
USB_NUM_ENDPOINT_PAIRS = 7
|
|
|
|
USB_NUM_IN_ENDPOINTS = 5
|