Skip to content

Commit 7b9e9d5

Browse files
committed
add exception tag to build flags
1 parent 442d084 commit 7b9e9d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

py/circuitpy_mpconfig.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,10 @@ CFLAGS += -DCIRCUITPY_RE=$(CIRCUITPY_RE)
428428
CIRCUITPY_REQUIRE_I2C_PULLUPS ?= 1
429429
CFLAGS += -DCIRCUITPY_REQUIRE_I2C_PULLUPS=$(CIRCUITPY_REQUIRE_I2C_PULLUPS)
430430

431+
# Allow the use of strapping pins for i2c
432+
CIRCUITPY_I2C_ALLOW_STRAPPING_PINS ?= 0
433+
CFLAGS += -DCIRCUITPY_I2C_ALLOW_STRAPPING_PINS=$(CIRCUITPY_I2C_ALLOW_STRAPPING_PINS)
434+
431435
# CIRCUITPY_RP2PIO is handled in the raspberrypi tree.
432436
# Only for rp2 chips.
433437
# Assume not a rp2 build.

0 commit comments

Comments
 (0)