Skip to content

Commit 72317c3

Browse files
committed
turn off CIRCUITPY_ONEWIREIO by default for skinny SAMD21 builds
1 parent a8d8651 commit 72317c3

File tree

12 files changed

+10
-19
lines changed

12 files changed

+10
-19
lines changed

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

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

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

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

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

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

13-
CIRCUITPY_ONEWIREIO = 0
13+
# This board has many pins, and we have to remove something else to make room.
14+
CIRCUITPY_RAINBOWIO = 0

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

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ LONGINT_IMPL = NONE
1515
CIRCUITPY_BUSDEVICE = 1
1616
CIRCUITPY_DISPLAYIO = 0
1717
CIRCUITPY_KEYPAD = 0
18-
CIRCUITPY_ONEWIREIO = 0
1918

2019
# Include these Python libraries in firmware.
2120
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_CircuitPlayground

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

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

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

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

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

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

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

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

1313
# There are many pin definitions on this board; it doesn't quite fit on very large translations.
14-
# Remove a couple of modules.
15-
CIRCUITPY_ONEWIREIO = 0
1614
CIRCUITPY_RAINBOWIO = 0

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

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ EXTERNAL_FLASH_DEVICES = AT25SF161
1212
LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_KEYPAD = 0
15-
CIRCUITPY_ONEWIREIO = 0
1615
CIRCUITPY_USB_MIDI = 0
1716

1817
CIRCUITPY_BITBANG_APA102 = 1

ports/atmel-samd/mpconfigport.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ CIRCUITPY_TOUCHIO_USE_NATIVE ?= 1
4747
CIRCUITPY_ULAB = 0
4848
CIRCUITPY_VECTORIO = 0
4949

50+
# TODO: In CircuitPython 8.0, turn this back on, after `busio.OneWire` is removed.
51+
# We'd like a smoother transition, but we can't afford the space to have both
52+
# `busio.OneWire` and `onewireio.OneWire` present on these tiny builds.
53+
54+
ifeq ($(INTERNAL_FLASH_FILESYSTEM),1)
55+
CIRCUITPY_ONEWIREIO ?= 0
56+
endif
57+
5058
MICROPY_PY_ASYNC_AWAIT = 0
5159

5260
# We don't have room for the fonts for terminalio for ja and ko

0 commit comments

Comments
 (0)