enable rainbowio on unix coverage port

This commit is contained in:
Jeff Epler 2021-11-12 17:07:00 -06:00
parent 010a822b8c
commit 1cea871c70
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 12 additions and 9 deletions

View File

@ -31,18 +31,21 @@ SRC_BITMAP := \
$(patsubst ../../%,%,$(wildcard ../../shared-bindings/gifio/*.c ../../shared-module/gifio/*.c)) \ $(patsubst ../../%,%,$(wildcard ../../shared-bindings/gifio/*.c ../../shared-module/gifio/*.c)) \
shared/runtime/context_manager_helpers.c \ shared/runtime/context_manager_helpers.c \
displayio_min.c \ displayio_min.c \
shared-bindings/bitmaptools/__init__.c \
shared-bindings/displayio/Bitmap.c \ shared-bindings/displayio/Bitmap.c \
shared-bindings/rainbowio/__init__.c \
shared-bindings/util.c \
shared-module/bitmaptools/__init__.c \
shared-module/displayio/area.c \ shared-module/displayio/area.c \
shared-module/displayio/Bitmap.c \ shared-module/displayio/Bitmap.c \
shared-module/displayio/ColorConverter.c \ shared-module/displayio/ColorConverter.c \
shared-bindings/bitmaptools/__init__.c \ shared-module/displayio/ColorConverter.c \
shared-module/bitmaptools/__init__.c \ shared-module/rainbowio/__init__.c \
shared-bindings/util.c \
$(info $(SRC_BITMAP)) $(info $(SRC_BITMAP))
SRC_C += $(SRC_BITMAP) SRC_C += $(SRC_BITMAP)
CFLAGS += -DCIRCUITPY_GIFIO=1 -DCIRCUITPY_DISPLAYIO_UNIX=1 -DCIRCUITPY_BITMAPTOOLS=1 CFLAGS += -DCIRCUITPY_GIFIO=1 -DCIRCUITPY_DISPLAYIO_UNIX=1 -DCIRCUITPY_BITMAPTOOLS=1 -DCIRCUITPY_RAINBOWIO=1
SRC_C += coverage.c SRC_C += coverage.c
SRC_CXX += coveragecpp.cpp SRC_CXX += coveragecpp.cpp

View File

@ -34,11 +34,11 @@ binascii bitmaptools btree cexample
cmath collections cppexample displayio cmath collections cppexample displayio
errno ffi framebuf gc errno ffi framebuf gc
gifio hashlib json math gifio hashlib json math
qrio re sys termios qrio rainbowio re sys
ubinascii uctypes uerrno uheapq termios ubinascii uctypes uerrno
uio ujson ulab uos uheapq uio ujson ulab
urandom ure uselect ustruct uos urandom ure uselect
utime utimeq uzlib ustruct utime utimeq uzlib
ime ime
utime utimeq utime utimeq