Skip to content

Commit 94beeab

Browse files
committed
remove unnecessary board configuration and address feedback
1 parent 3c46e3a commit 94beeab

File tree

30 files changed

+2
-72
lines changed

30 files changed

+2
-72
lines changed

ports/atmel-samd/boards/arduino_mkr1300/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212
SUPEROPT_GC = 0
13-
MICROPY_PY_ASYNC_AWAIT = 0

ports/atmel-samd/boards/arduino_mkrzero/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/arduino_nano_33_iot/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/arduino_zero/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/bast_pro_mini_m0/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ CHIP_FAMILY = samd21
99
INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
12-
13-
MICROPY_PY_ASYNC_AWAIT = 0
14-

ports/atmel-samd/boards/catwan_usbstick/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212
CIRCUITPY_COUNTIO = 0
1313
CIRCUITPY_ROTARYIO = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/circuitbrains_basic_m0/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ RELEASE_NEEDS_CLEAN_BUILD = 1
3434
CFLAGS_INLINE_LIMIT = 35
3535
SUPEROPT_VM = 0
3636
endif
37-

ports/atmel-samd/boards/datum_distance/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/datum_imu/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/datum_light/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/datum_weather/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/feather_m0_adalogger/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/feather_m0_basic/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/feather_m0_rfm69/mpconfigboard.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ CIRCUITPY_SAMD = 0
2121
CIRCUITPY_USB_MIDI = 0
2222
CIRCUITPY_USB_HID = 0
2323
CIRCUITPY_TOUCHIO = 0
24-
MICROPY_PY_ASYNC_AWAIT = 0
2524
CFLAGS_INLINE_LIMIT = 35
2625

2726
# Make more room.
@@ -30,4 +29,3 @@ SUPEROPT_GC = 0
3029
# Include these Python libraries in firmware.
3130
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
3231
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_RFM69
33-

ports/atmel-samd/boards/feather_m0_rfm9x/mpconfigboard.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ CIRCUITPY_SAMD = 0
2222
CIRCUITPY_USB_MIDI = 0
2323
CIRCUITPY_USB_HID = 0
2424
CIRCUITPY_TOUCHIO = 0
25-
MICROPY_PY_ASYNC_AWAIT = 0
2625

2726
CFLAGS_INLINE_LIMIT = 35
2827
# Make more room.
@@ -31,4 +30,3 @@ SUPEROPT_GC = 0
3130
# Include these Python libraries in firmware.
3231
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
3332
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_RFM9x
34-

ports/atmel-samd/boards/gemma_m0/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ CHIP_FAMILY = samd21
99
INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
12-
MICROPY_PY_ASYNC_AWAIT = 0
1312

1413
SUPEROPT_GC = 0
1514

ports/atmel-samd/boards/pewpew10/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,3 @@ SUPEROPT_GC = 0
2424
FROZEN_MPY_DIRS += $(TOP)/frozen/pew-pewpew-standalone-10.x
2525

2626
CFLAGS_BOARD = --param max-inline-insns-auto=15
27-
28-
MICROPY_PY_ASYNC_AWAIT = 0
29-

ports/atmel-samd/boards/seeeduino_xiao/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/shirtty/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ CIRCUITPY_I2CPERIPHERAL = 1
1313
CIRCUITPY_TOUCHIO = 0
1414

1515
SUPEROPT_GC = 0
16-
17-
MICROPY_PY_ASYNC_AWAIT = 0
18-

ports/atmel-samd/boards/sparkfun_qwiic_micro_no_flash/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111

1212
CIRCUITPY_FULL_BUILD = 0
1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/sparkfun_samd21_dev/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/sparkfun_samd21_mini/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,3 @@ LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

1313
SUPEROPT_GC = 0
14-
15-
MICROPY_PY_ASYNC_AWAIT = 0
16-

ports/atmel-samd/boards/trinket_m0/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ CHIP_FAMILY = samd21
99
INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
12-
MICROPY_PY_ASYNC_AWAIT = 0
1312

1413
SUPEROPT_GC = 0
1514

ports/atmel-samd/boards/trinket_m0_haxpress/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ RELEASE_NEEDS_CLEAN_BUILD = 1
3535
CFLAGS_INLINE_LIMIT = 35
3636
SUPEROPT_VM = 0
3737
endif
38-

ports/atmel-samd/boards/uchip/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ CIRCUITPY_FULL_BUILD = 0
1414
CFLAGS_INLINE_LIMIT = 45
1515

1616
SUPEROPT_GC = 0
17-
MICROPY_PY_ASYNC_AWAIT = 0

ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,3 @@ CIRCUITPY_COUNTIO=0
2828
# Include these Python libraries in firmware.
2929
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
3030
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_SD
31-
32-
MICROPY_PY_ASYNC_AWAIT = 0
33-

ports/nrf/boards/pca10100/mpconfigboard.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ CIRCUITPY_RTC = 1
2424
CIRCUITPY_SDCARDIO = 0
2525
CIRCUITPY_TOUCHIO = 0
2626
CIRCUITPY_ULAB = 0
27+
MICROPY_PY_ASYNC_AWAIT = 0
2728

2829
SUPEROPT_GC = 0
2930

3031
# Override optimization to keep binary small
3132
OPTIMIZATION_FLAGS = -Os
32-
MICROPY_PY_ASYNC_AWAIT = 0
33-

ports/nrf/boards/sparkfun_nrf52840_mini/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ MCU_CHIP = nrf52840
88
INTERNAL_FLASH_FILESYSTEM = 1
99

1010
MICROPY_PY_ASYNC_AWAIT = 0
11-

py/circuitpy_mpconfig.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
CIRCUITPY_FULL_BUILD ?= 1
3333
CFLAGS += -DCIRCUITPY_FULL_BUILD=$(CIRCUITPY_FULL_BUILD)
3434

35+
# async/await language keyword support
3536
MICROPY_PY_ASYNC_AWAIT ?= $(CIRCUITPY_FULL_BUILD)
3637
CFLAGS += -DMICROPY_PY_ASYNC_AWAIT=$(MICROPY_PY_ASYNC_AWAIT)
3738

@@ -292,6 +293,3 @@ CFLAGS += -DCIRCUITPY_WIFI=$(CIRCUITPY_WIFI)
292293
# Enabled micropython.native decorator (experimental)
293294
CIRCUITPY_ENABLE_MPY_NATIVE ?= 0
294295
CFLAGS += -DCIRCUITPY_ENABLE_MPY_NATIVE=$(CIRCUITPY_ENABLE_MPY_NATIVE)
295-
296-
# async/await language keyword support
297-
MICROPY_PY_ASYNC_AWAIT ?= $(CIRCUITPY_FULL_BUILD)

py/compile.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040

4141
#if MICROPY_ENABLE_COMPILER
4242

43-
#define DEBUG_PRINT(...) mp_printf(&mp_plat_print __VA_OPT__(,) __VA_ARGS__)
44-
4543
// TODO need to mangle __attr names
4644

4745
#define INVALID_LABEL (0xffff)

0 commit comments

Comments
 (0)