summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorJames Bowman <jamesb@excamera.com>2020-02-05 18:17:58 -0800
committerJames Bowman <jamesb@excamera.com>2020-02-05 18:17:58 -0800
commitacef93a25391594111c1ded0614c440e04e23d26 (patch)
tree3ef515359d433337fdd9f89ce906b75c0e73a0d9 /py
parenta9b34f45dc821ad14c24aec7df6be74138fe4196 (diff)
Rename eveL to _eve, EVEL to _EVE
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_defns.mk6
-rw-r--r--py/circuitpy_mpconfig.h10
-rw-r--r--py/circuitpy_mpconfig.mk6
3 files changed, 11 insertions, 11 deletions
diff --git a/py/circuitpy_defns.mk b/py/circuitpy_defns.mk
index 859d3837b..e7d49ae24 100644
--- a/py/circuitpy_defns.mk
+++ b/py/circuitpy_defns.mk
@@ -157,8 +157,8 @@ endif
ifeq ($(CIRCUITPY_MATH),1)
SRC_PATTERNS += math/%
endif
-ifeq ($(CIRCUITPY_EVEL),1)
-SRC_PATTERNS += eveL/%
+ifeq ($(CIRCUITPY__EVE),1)
+SRC_PATTERNS += _eve/%
endif
ifeq ($(CIRCUITPY_MICROCONTROLLER),1)
SRC_PATTERNS += microcontroller/%
@@ -301,7 +301,7 @@ $(filter $(SRC_PATTERNS), \
fontio/Glyph.c \
microcontroller/RunMode.c \
math/__init__.c \
- eveL/__init__.c \
+ _eve/__init__.c \
)
SRC_BINDINGS_ENUMS += \
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 8b7ac46b0..c1ac2cddb 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -384,11 +384,11 @@ extern const struct _mp_obj_module_t math_module;
#define MATH_MODULE
#endif
-#if CIRCUITPY_EVEL
-extern const struct _mp_obj_module_t eveL_module;
-#define EVEL_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_eveL), (mp_obj_t)&eveL_module },
+#if CIRCUITPY__EVE
+extern const struct _mp_obj_module_t _eve_module;
+#define _EVE_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__eve), (mp_obj_t)&_eve_module },
#else
-#define EVEL_MODULE
+#define _EVE_MODULE
#endif
#if CIRCUITPY_MICROCONTROLLER
@@ -624,7 +624,7 @@ extern const struct _mp_obj_module_t ustack_module;
I2CSLAVE_MODULE \
JSON_MODULE \
MATH_MODULE \
- EVEL_MODULE \
+ _EVE_MODULE \
MICROCONTROLLER_MODULE \
NEOPIXEL_WRITE_MODULE \
NETWORK_MODULE \
diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk
index b72eec7c5..93e5982d5 100644
--- a/py/circuitpy_mpconfig.mk
+++ b/py/circuitpy_mpconfig.mk
@@ -174,10 +174,10 @@ CIRCUITPY_MATH = $(CIRCUITPY_ALWAYS_BUILD)
endif
CFLAGS += -DCIRCUITPY_MATH=$(CIRCUITPY_MATH)
-ifndef CIRCUITPY_EVEL
-CIRCUITPY_EVEL = 0
+ifndef CIRCUITPY__EVE
+CIRCUITPY__EVE = 0
endif
-CFLAGS += -DCIRCUITPY_EVEL=$(CIRCUITPY_EVEL)
+CFLAGS += -DCIRCUITPY__EVE=$(CIRCUITPY__EVE)
ifndef CIRCUITPY_MICROCONTROLLER
CIRCUITPY_MICROCONTROLLER = $(CIRCUITPY_DEFAULT_BUILD)