From 1ca805887f9f7f32536827190059ffc0f8c9a844 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Sat, 1 May 2021 13:49:18 -0400 Subject: [PATCH] Fix broken builds --- .../boards/xinabox_cc03/mpconfigboard.mk | 1 + .../boards/xinabox_cs11/mpconfigboard.mk | 1 + ports/litex/mpconfigport.mk | 1 + ports/stm/mpconfigport.mk | 99 ++++++++++--------- 4 files changed, 53 insertions(+), 49 deletions(-) diff --git a/ports/atmel-samd/boards/xinabox_cc03/mpconfigboard.mk b/ports/atmel-samd/boards/xinabox_cc03/mpconfigboard.mk index d6f333b5be..9497bf78cb 100644 --- a/ports/atmel-samd/boards/xinabox_cc03/mpconfigboard.mk +++ b/ports/atmel-samd/boards/xinabox_cc03/mpconfigboard.mk @@ -12,6 +12,7 @@ LONGINT_IMPL = MPZ CIRCUITPY_FULL_BUILD = 0 SUPEROPT_GC = 0 +SUPEROPT_VM = 0 # Make room for frozen libs. CIRCUITPY_FREQUENCYIO = 0 diff --git a/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.mk b/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.mk index fd2fa044a8..eb43bd8afd 100644 --- a/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.mk +++ b/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.mk @@ -12,6 +12,7 @@ LONGINT_IMPL = MPZ CIRCUITPY_FULL_BUILD = 0 SUPEROPT_GC = 0 +SUPEROPT_VM = 0 # Make room for frozen libs. CIRCUITPY_FREQUENCYIO = 0 diff --git a/ports/litex/mpconfigport.mk b/ports/litex/mpconfigport.mk index af6a94e64a..61a4937473 100644 --- a/ports/litex/mpconfigport.mk +++ b/ports/litex/mpconfigport.mk @@ -29,6 +29,7 @@ CIRCUITPY_FREQUENCYIO = 0 CIRCUITPY_I2CPERIPHERAL = 0 CIRCUITPY_NVM = 0 CIRCUITPY_PULSEIO = 0 +CIRCUITPY_PWMIO = 0 CIRCUITPY_ROTARYIO = 0 CIRCUITPY_RTC = 0 CIRCUITPY_SDCARDIO = 0 diff --git a/ports/stm/mpconfigport.mk b/ports/stm/mpconfigport.mk index a3216f2678..abddd63a63 100644 --- a/ports/stm/mpconfigport.mk +++ b/ports/stm/mpconfigport.mk @@ -4,66 +4,67 @@ INTERNAL_LIBM ?= 1 USB_SERIAL_NUMBER_LENGTH ?= 24 ifeq ($(MCU_VARIANT),$(filter $(MCU_VARIANT),STM32F405xx STM32F407xx)) - CIRCUITPY_CANIO = 1 - CIRCUITPY_FRAMEBUFFERIO ?= 1 - CIRCUITPY_SDIOIO ?= 1 - # Number of USB endpoint pairs. - USB_NUM_EP = 4 + CIRCUITPY_CANIO = 1 + CIRCUITPY_FRAMEBUFFERIO ?= 1 + CIRCUITPY_SDIOIO ?= 1 + # Number of USB endpoint pairs. + USB_NUM_EP = 4 endif ifeq ($(MCU_SERIES),F4) - # Audio via PWM - CIRCUITPY_AUDIOIO = 0 - CIRCUITPY_AUDIOCORE ?= 1 - CIRCUITPY_AUDIOPWMIO ?= 1 + # Audio via PWM + CIRCUITPY_AUDIOIO = 0 + CIRCUITPY_AUDIOCORE ?= 1 + CIRCUITPY_AUDIOPWMIO ?= 1 - # 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 - CIRCUITPY_USB_MIDI ?= 0 - CIRCUITPY_USB_HID ?= 0 + # 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 + CIRCUITPY_USB_MIDI ?= 0 + CIRCUITPY_USB_HID ?= 0 - USB_NUM_EP = 4 + USB_NUM_EP = 4 endif ifeq ($(MCU_SERIES),H7) - # 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 - CIRCUITPY_ROTARYIO ?= 0 - CIRCUITPY_RTC ?= 0 - CIRCUITPY_USB_HID ?= 0 - CIRCUITPY_USB_MIDI ?= 0 + # 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 + CIRCUITPY_PWMIO ?= 0 + CIRCUITPY_ROTARYIO ?= 0 + CIRCUITPY_RTC ?= 0 + CIRCUITPY_USB_HID ?= 0 + CIRCUITPY_USB_MIDI ?= 0 - USB_NUM_EP = 9 + USB_NUM_EP = 9 endif ifeq ($(MCU_SERIES),F7) - # 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 - CIRCUITPY_USB_HID ?= 0 - CIRCUITPY_USB_MIDI ?= 0 + # 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 + CIRCUITPY_USB_HID ?= 0 + CIRCUITPY_USB_MIDI ?= 0 - USB_NUM_EP = 6 + USB_NUM_EP = 6 endif