Skip to content

Commit 4dc1837

Browse files
committed
add lite font for debug mode
1 parent 7355f93 commit 4dc1837

File tree

2 files changed

+773
-2
lines changed

2 files changed

+773
-2
lines changed

fw/application/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ U8G2_ROOT := ../components/u8g2/csrc
99
CHAMELEON_ROOT :=$(COMP_DIR)/chameleon-ultra/firmware
1010

1111
APP_VERSION ?= 1
12-
RELEASE ?= 1
12+
RELEASE ?= 0
1313
BOARD ?= OLED
1414

1515
$(OUTPUT_DIRECTORY)/pixljs.out: \
@@ -202,6 +202,7 @@ SRC_FILES += \
202202
$(PROJ_DIR)/mui/u8g2_font_likeminecraft_te.c \
203203
$(PROJ_DIR)/mui/u8g2_font_siji_t_6x10.c \
204204
$(PROJ_DIR)/mui/u8g2_font_wqy12_t_gb2312a.c \
205+
$(PROJ_DIR)/mui/u8g2_font_wqy12_t_gb2312a_lite.c \
205206
$(PROJ_DIR)/mui/mui_core.c \
206207
$(PROJ_DIR)/mui/mui_canvas.c \
207208
$(PROJ_DIR)/mui/mui_event.c \
@@ -608,7 +609,7 @@ CFLAGS += -DBOARD_$(BOARD)
608609
ifneq ($(RELEASE), 1)
609610
CFLAGS += -DDEBUG
610611
CFLAGS += -DEBUG_NRF
611-
CFLAGS += -DU8G2_USE_LARGE_GB2312_FONT
612+
# CFLAGS += -DU8G2_USE_LARGE_GB2312_FONT
612613
else
613614
CFLAGS += -DNDEBUG
614615
CFLAGS += -DU8G2_USE_LARGE_GB2312_FONT

0 commit comments

Comments
 (0)