disable async/await on a several small ucontrollers

This commit is contained in:
warriorofwire 2020-05-31 14:25:09 -07:00 committed by Kenny
parent d94d2d2975
commit f5f1e29dc0
28 changed files with 75 additions and 0 deletions

View File

@ -10,3 +10,4 @@ INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -9,3 +9,6 @@ CHIP_FAMILY = samd21
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
CIRCUITPY_COUNTIO = 0
CIRCUITPY_ROTARYIO = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -16,6 +16,7 @@ CIRCUITPY_COUNTIO = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CPERIPHERAL = 0
CIRCUITPY_VECTORIO = 0
MICROPY_PY_ASYNC_AWAIT = 0
SUPEROPT_GC = 0
@ -33,3 +34,4 @@ RELEASE_NEEDS_CLEAN_BUILD = 1
CFLAGS_INLINE_LIMIT = 35
SUPEROPT_VM = 0
endif

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -21,10 +21,13 @@ CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 0
CIRCUITPY_USB_HID = 0
CIRCUITPY_TOUCHIO = 0
MICROPY_PY_ASYNC_AWAIT = 0
CFLAGS_INLINE_LIMIT = 35
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_RFM69

View File

@ -22,6 +22,8 @@ CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 0
CIRCUITPY_USB_HID = 0
CIRCUITPY_TOUCHIO = 0
MICROPY_PY_ASYNC_AWAIT = 0
CFLAGS_INLINE_LIMIT = 35
# Make more room.
SUPEROPT_GC = 0
@ -29,3 +31,4 @@ SUPEROPT_GC = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_RFM9x

View File

@ -9,6 +9,7 @@ CHIP_FAMILY = samd21
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
MICROPY_PY_ASYNC_AWAIT = 0
SUPEROPT_GC = 0
@ -21,3 +22,4 @@ ifeq ($(TRANSLATION), de_DE)
RELEASE_NEEDS_CLEAN_BUILD = 1
CFLAGS_INLINE_LIMIT = 35
endif

View File

@ -24,3 +24,6 @@ SUPEROPT_GC = 0
FROZEN_MPY_DIRS += $(TOP)/frozen/pew-pewpew-standalone-10.x
CFLAGS_BOARD = --param max-inline-insns-auto=15
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -13,3 +13,6 @@ CIRCUITPY_I2CPERIPHERAL = 1
CIRCUITPY_TOUCHIO = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -9,6 +9,7 @@ CHIP_FAMILY = samd21
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
CIRCUITPY_FULL_BUILD = 0
MICROPY_PY_ASYNC_AWAIT = 0
SUPEROPT_GC = 0
@ -22,3 +23,4 @@ RELEASE_NEEDS_CLEAN_BUILD = 1
CFLAGS_INLINE_LIMIT = 35
SUPEROPT_VM = 0
endif

View File

@ -17,6 +17,7 @@ CIRCUITPY_COUNTIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CPERIPHERAL = 0
MICROPY_PY_ASYNC_AWAIT = 0
SUPEROPT_GC = 0
@ -34,3 +35,4 @@ RELEASE_NEEDS_CLEAN_BUILD = 1
CFLAGS_INLINE_LIMIT = 35
SUPEROPT_VM = 0
endif

View File

@ -14,3 +14,4 @@ CIRCUITPY_FULL_BUILD = 0
CFLAGS_INLINE_LIMIT = 45
SUPEROPT_GC = 0
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -28,3 +28,6 @@ CIRCUITPY_COUNTIO=0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_SD
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -29,3 +29,5 @@ SUPEROPT_GC = 0
# Override optimization to keep binary small
OPTIMIZATION_FLAGS = -Os
MICROPY_PY_ASYNC_AWAIT = 0

View File

@ -6,3 +6,6 @@ USB_MANUFACTURER = "SparkFun Electronics"
MCU_CHIP = nrf52840
INTERNAL_FLASH_FILESYSTEM = 1
MICROPY_PY_ASYNC_AWAIT = 0