2020-06-23 12:02:38 -04:00
|
|
|
MPY_TOOL_LONGINT_IMPL ?= -mlongint-impl=mpz
|
|
|
|
LONGINT_IMPL ?= MPZ
|
|
|
|
INTERNAL_LIBM ?= 1
|
2020-03-11 18:13:06 -04:00
|
|
|
|
2021-03-11 11:27:17 -05:00
|
|
|
ifeq ($(MCU_VARIANT),$(filter $(MCU_VARIANT),STM32F405xx STM32F407xx))
|
2021-05-10 17:30:33 -04:00
|
|
|
CIRCUITPY_ALARM = 1
|
2021-05-01 13:49:18 -04:00
|
|
|
CIRCUITPY_CANIO = 1
|
|
|
|
CIRCUITPY_FRAMEBUFFERIO ?= 1
|
|
|
|
CIRCUITPY_SDIOIO ?= 1
|
|
|
|
# Number of USB endpoint pairs.
|
2021-05-13 21:49:04 -04:00
|
|
|
USB_NUM_ENDPOINT_PAIRS = 4
|
2020-05-07 15:44:08 -04:00
|
|
|
endif
|
|
|
|
|
2020-04-20 09:44:16 -04:00
|
|
|
ifeq ($(MCU_SERIES),F4)
|
2021-05-01 13:49:18 -04:00
|
|
|
# Audio via PWM
|
|
|
|
CIRCUITPY_AUDIOIO = 0
|
|
|
|
CIRCUITPY_AUDIOCORE ?= 1
|
|
|
|
CIRCUITPY_AUDIOPWMIO ?= 1
|
2021-03-06 02:20:16 -05:00
|
|
|
|
2021-05-01 13:49:18 -04:00
|
|
|
# Not yet implemented common-hal modules:
|
|
|
|
CIRCUITPY_AUDIOBUSIO ?= 0
|
|
|
|
CIRCUITPY_COUNTIO ?= 0
|
|
|
|
CIRCUITPY_FREQUENCYIO ?= 0
|
|
|
|
CIRCUITPY_I2CPERIPHERAL ?= 0
|
|
|
|
CIRCUITPY_NVM ?= 0
|
|
|
|
CIRCUITPY_ROTARYIO ?= 0
|
|
|
|
CIRCUITPY_RTC ?= 0
|
2021-05-13 21:49:04 -04:00
|
|
|
USB_NUM_ENDPOINT_PAIRS = 4
|
2020-04-20 09:44:16 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MCU_SERIES),H7)
|
2021-05-01 13:49:18 -04:00
|
|
|
# Not yet implemented common-hal modules:
|
|
|
|
CIRCUITPY_ANALOGIO ?= 0
|
|
|
|
CIRCUITPY_AUDIOBUSIO ?= 0
|
|
|
|
CIRCUITPY_AUDIOIO ?= 0
|
|
|
|
CIRCUITPY_COUNTIO ?= 0
|
|
|
|
CIRCUITPY_FREQUENCYIO ?= 0
|
|
|
|
CIRCUITPY_I2CPERIPHERAL ?= 0
|
|
|
|
CIRCUITPY_NEOPIXEL_WRITE ?= 0
|
|
|
|
CIRCUITPY_NVM ?= 0
|
|
|
|
CIRCUITPY_PULSEIO ?= 0
|
2021-05-10 17:30:33 -04:00
|
|
|
CIRCUITPY_PWMIO ?= 0
|
2021-05-01 13:49:18 -04:00
|
|
|
CIRCUITPY_ROTARYIO ?= 0
|
|
|
|
CIRCUITPY_RTC ?= 0
|
2021-02-04 19:23:40 -05:00
|
|
|
|
2021-05-13 21:49:04 -04:00
|
|
|
USB_NUM_ENDPOINT_PAIRS = 9
|
2020-04-20 09:44:16 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MCU_SERIES),F7)
|
2021-05-01 13:49:18 -04:00
|
|
|
# Not yet implemented common-hal modules:
|
|
|
|
CIRCUITPY_ANALOGIO ?= 0
|
|
|
|
CIRCUITPY_AUDIOBUSIO ?= 0
|
|
|
|
CIRCUITPY_AUDIOIO ?= 0
|
|
|
|
CIRCUITPY_COUNTIO ?= 0
|
|
|
|
CIRCUITPY_FREQUENCYIO ?= 0
|
|
|
|
CIRCUITPY_I2CPERIPHERAL ?= 0
|
|
|
|
CIRCUITPY_NEOPIXEL_WRITE ?= 0
|
|
|
|
CIRCUITPY_NVM ?= 0
|
|
|
|
CIRCUITPY_ROTARYIO ?= 0
|
|
|
|
CIRCUITPY_RTC ?= 0
|
2021-02-04 19:23:40 -05:00
|
|
|
|
2021-05-13 21:49:04 -04:00
|
|
|
USB_NUM_ENDPOINT_PAIRS = 6
|
2020-04-02 11:47:16 -04:00
|
|
|
endif
|
2021-08-29 08:29:32 -04:00
|
|
|
|
|
|
|
CIRCUITPY_PARALLELDISPLAY := 0
|