summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-04-15 11:22:16 -0500
committerJeff Epler <jepler@gmail.com>2020-04-17 18:43:57 -0500
commit3d6258f63dce84519704251b86a16c832958c8a6 (patch)
tree6ab212174a7f9f82da26c19ac3d93c1e9b25bc88 /py
parent64c3968a2e2c626036fcd3d148eae7ba092e6096 (diff)
Rename Protomatter -> RGBMatrix
This is a quick rename, it changes the user-facing names but not the internal names of things.
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_defns.mk12
-rw-r--r--py/circuitpy_mpconfig.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/py/circuitpy_defns.mk b/py/circuitpy_defns.mk
index 995412139..ad5a80dc7 100644
--- a/py/circuitpy_defns.mk
+++ b/py/circuitpy_defns.mk
@@ -182,7 +182,7 @@ ifeq ($(CIRCUITPY_PIXELBUF),1)
SRC_PATTERNS += _pixelbuf/%
endif
ifeq ($(CIRCUITPY_PROTOMATTER),1)
-SRC_PATTERNS += protomatter/%
+SRC_PATTERNS += rgbmatrix/%
endif
ifeq ($(CIRCUITPY_PULSEIO),1)
SRC_PATTERNS += pulseio/%
@@ -277,8 +277,8 @@ SRC_COMMON_HAL_ALL = \
nvm/ByteArray.c \
nvm/__init__.c \
os/__init__.c \
- protomatter/Protomatter.c \
- protomatter/__init__.c \
+ rgbmatrix/RGBMatrix.c \
+ rgbmatrix/__init__.c \
pulseio/PWMOut.c \
pulseio/PulseIn.c \
pulseio/PulseOut.c \
@@ -366,8 +366,8 @@ SRC_SHARED_MODULE_ALL = \
random/__init__.c \
socket/__init__.c \
network/__init__.c \
- protomatter/Protomatter.c \
- protomatter/__init__.c \
+ rgbmatrix/RGBMatrix.c \
+ rgbmatrix/__init__.c \
storage/__init__.c \
struct/__init__.c \
terminalio/Terminal.c \
@@ -417,7 +417,7 @@ ifeq ($(CIRCUITPY_PROTOMATTER),1)
SRC_MOD += $(addprefix lib/protomatter/, \
core.c \
)
-$(BUILD)/lib/protomatter/core.o: CFLAGS += -include "shared-module/protomatter/allocator.h" -DCIRCUITPY -Wno-missing-braces
+$(BUILD)/lib/protomatter/core.o: CFLAGS += -include "shared-module/rgbmatrix/allocator.h" -DCIRCUITPY -Wno-missing-braces
endif
# All possible sources are listed here, and are filtered by SRC_PATTERNS.
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 55e04b293..7f1da2e30 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -463,7 +463,7 @@ extern const struct _mp_obj_module_t pixelbuf_module;
#if CIRCUITPY_PROTOMATTER
extern const struct _mp_obj_module_t protomatter_module;
-#define PROTOMATTER_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_protomatter),(mp_obj_t)&protomatter_module },
+#define PROTOMATTER_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_rgbmatrix),(mp_obj_t)&protomatter_module },
#else
#define PROTOMATTER_MODULE
#endif