Don't define SHARPDISPLAY when !DISPLAYIO
.. even if FULL_BUILD
This commit is contained in:
parent
759ded9c38
commit
cff448205f
@ -95,7 +95,11 @@ CFLAGS += -DCIRCUITPY_COUNTIO=$(CIRCUITPY_COUNTIO)
|
|||||||
CIRCUITPY_DISPLAYIO ?= $(CIRCUITPY_FULL_BUILD)
|
CIRCUITPY_DISPLAYIO ?= $(CIRCUITPY_FULL_BUILD)
|
||||||
CFLAGS += -DCIRCUITPY_DISPLAYIO=$(CIRCUITPY_DISPLAYIO)
|
CFLAGS += -DCIRCUITPY_DISPLAYIO=$(CIRCUITPY_DISPLAYIO)
|
||||||
|
|
||||||
|
ifeq ($(CIRCUITPY_DISPLAYIO),1)
|
||||||
CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD)
|
CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD)
|
||||||
|
else
|
||||||
|
CIRCUITPY_FRAMEBUFFERIO ?= 0
|
||||||
|
endif
|
||||||
CFLAGS += -DCIRCUITPY_FRAMEBUFFERIO=$(CIRCUITPY_FRAMEBUFFERIO)
|
CFLAGS += -DCIRCUITPY_FRAMEBUFFERIO=$(CIRCUITPY_FRAMEBUFFERIO)
|
||||||
|
|
||||||
CIRCUITPY_VECTORIO ?= $(CIRCUITPY_DISPLAYIO)
|
CIRCUITPY_VECTORIO ?= $(CIRCUITPY_DISPLAYIO)
|
||||||
|
Loading…
Reference in New Issue
Block a user