diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-04-15 15:40:06 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-04-15 15:40:06 -0700 |
| commit | c927e6b938ff35fe0f42180d1dc0f9d58f8e571c (patch) | |
| tree | 7be059364206e22823c099bd6c5870dc1fd78392 /py/circuitpy_mpconfig.mk | |
| parent | eeef5359f90fc3fa8b4b736d8f751b034a448167 (diff) | |
Split GamePadShift from GamePad to save space on most boards.
Diffstat (limited to 'py/circuitpy_mpconfig.mk')
| -rw-r--r-- | py/circuitpy_mpconfig.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk index 8ea72f0bf..b436929e0 100644 --- a/py/circuitpy_mpconfig.mk +++ b/py/circuitpy_mpconfig.mk @@ -102,6 +102,11 @@ CIRCUITPY_GAMEPAD = $(CIRCUITPY_FULL_BUILD) endif CFLAGS += -DCIRCUITPY_GAMEPAD=$(CIRCUITPY_GAMEPAD) +ifndef CIRCUITPY_GAMEPADSHIFT +CIRCUITPY_GAMEPADSHIFT = 0 +endif +CFLAGS += -DCIRCUITPY_GAMEPADSHIFT=$(CIRCUITPY_GAMEPADSHIFT) + ifndef CIRCUITPY_I2CSLAVE CIRCUITPY_I2CSLAVE = $(CIRCUITPY_FULL_BUILD) endif |
