disable async/await on a several small ucontrollers
This commit is contained in:
parent
d94d2d2975
commit
f5f1e29dc0
|
@ -10,3 +10,4 @@ INTERNAL_FLASH_FILESYSTEM = 1
|
|||
LONGINT_IMPL = NONE
|
||||
CIRCUITPY_FULL_BUILD = 0
|
||||
SUPEROPT_GC = 0
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -9,3 +9,6 @@ CHIP_FAMILY = samd21
|
|||
INTERNAL_FLASH_FILESYSTEM = 1
|
||||
LONGINT_IMPL = NONE
|
||||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
CIRCUITPY_COUNTIO = 0
|
||||
CIRCUITPY_ROTARYIO = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -13,3 +13,6 @@ CIRCUITPY_I2CPERIPHERAL = 1
|
|||
CIRCUITPY_TOUCHIO = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
|
||||
CIRCUITPY_FULL_BUILD = 0
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ LONGINT_IMPL = NONE
|
|||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -14,3 +14,4 @@ CIRCUITPY_FULL_BUILD = 0
|
|||
CFLAGS_INLINE_LIMIT = 45
|
||||
|
||||
SUPEROPT_GC = 0
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -29,3 +29,5 @@ SUPEROPT_GC = 0
|
|||
|
||||
# Override optimization to keep binary small
|
||||
OPTIMIZATION_FLAGS = -Os
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
|
@ -6,3 +6,6 @@ USB_MANUFACTURER = "SparkFun Electronics"
|
|||
MCU_CHIP = nrf52840
|
||||
|
||||
INTERNAL_FLASH_FILESYSTEM = 1
|
||||
|
||||
MICROPY_PY_ASYNC_AWAIT = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue