2020-03-11 18:13:06 -04:00
|
|
|
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
|
2020-04-20 09:44:16 -04:00
|
|
|
LONGINT_IMPL = MPZ
|
2020-03-11 18:13:06 -04:00
|
|
|
INTERNAL_LIBM = 1
|
|
|
|
USB_SERIAL_NUMBER_LENGTH = 24
|
|
|
|
|
2020-04-20 09:44:16 -04:00
|
|
|
ifeq ($(MCU_SERIES),F4)
|
2020-04-23 13:33:41 -04:00
|
|
|
# Not yet implemented common-hal modules:
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_AUDIOBUSIO = 0
|
|
|
|
CIRCUITPY_AUDIOIO = 0
|
|
|
|
CIRCUITPY_ROTARYIO = 0
|
|
|
|
CIRCUITPY_RTC = 0
|
|
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
|
|
CIRCUITPY_I2CSLAVE = 0
|
|
|
|
# Can be overridden on board level
|
|
|
|
ifndef CIRCUITPY_NVM
|
|
|
|
CIRCUITPY_NVM = 0
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MCU_SERIES),H7)
|
2020-04-23 13:33:41 -04:00
|
|
|
# Not yet implemented common-hal modules:
|
2020-03-17 18:26:13 -04:00
|
|
|
CIRCUITPY_ANALOGIO = 0
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_NEOPIXEL_WRITE = 0
|
2020-03-17 18:26:13 -04:00
|
|
|
CIRCUITPY_PULSEIO = 0
|
2020-04-24 11:15:55 -04:00
|
|
|
CIRCUITPY_OS = 1
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_NVM = 0
|
|
|
|
CIRCUITPY_AUDIOBUSIO = 0
|
|
|
|
CIRCUITPY_AUDIOIO = 0
|
|
|
|
CIRCUITPY_ROTARYIO = 0
|
|
|
|
CIRCUITPY_RTC = 0
|
|
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
|
|
CIRCUITPY_I2CSLAVE = 0
|
2020-04-23 13:33:41 -04:00
|
|
|
# shared-module modules that still need prerequisites filled
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_DISPLAYIO = 0 # Requires SPI, PulseIO, and common-hal module (stub ok)
|
|
|
|
CIRCUITPY_RANDOM = 0 # Requires OS
|
|
|
|
CIRCUITPY_STORAGE = 0 # Requires OS, filesystem
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MCU_SERIES),F7)
|
2020-04-23 13:33:41 -04:00
|
|
|
# Not yet implemented common-hal modules:
|
2020-04-02 11:47:16 -04:00
|
|
|
CIRCUITPY_ANALOGIO = 0
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_NEOPIXEL_WRITE = 0
|
2020-04-24 09:44:51 -04:00
|
|
|
CIRCUITPY_PULSEIO = 1
|
2020-04-24 11:15:55 -04:00
|
|
|
CIRCUITPY_OS = 1
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_NVM = 0
|
|
|
|
CIRCUITPY_AUDIOBUSIO = 0
|
|
|
|
CIRCUITPY_AUDIOIO = 0
|
|
|
|
CIRCUITPY_ROTARYIO = 0
|
|
|
|
CIRCUITPY_RTC = 0
|
|
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
|
|
CIRCUITPY_I2CSLAVE = 0
|
2020-04-23 13:33:41 -04:00
|
|
|
# shared-module modules that still need prerequisites filled
|
2020-04-20 09:44:16 -04:00
|
|
|
CIRCUITPY_DISPLAYIO = 0 # Requires SPI, PulseIO, and common-hal module (stub ok)
|
|
|
|
CIRCUITPY_RANDOM = 0 # Requires OS
|
|
|
|
CIRCUITPY_STORAGE = 0 # Requires OS, filesystem
|
2020-04-02 11:47:16 -04:00
|
|
|
endif
|