From 37fa4eacde38377ed0420d848e68bc14ac9cc8ad Mon Sep 17 00:00:00 2001 From: lixianjing Date: Tue, 3 Aug 2021 21:31:24 +0800 Subject: [PATCH] update docs --- docs/how_to_support_mono_lcd.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/how_to_support_mono_lcd.md b/docs/how_to_support_mono_lcd.md index 2708313e5..9ec65e7bf 100644 --- a/docs/how_to_support_mono_lcd.md +++ b/docs/how_to_support_mono_lcd.md @@ -54,6 +54,20 @@ python scripts/update_res.py all x1 mono ./bin/preview_ui design/default/ui/mono_test.xml ``` +## 其它 + +* 嵌入式系统,请在 awtk\_config.h 中定义下面的宏。 + +``` +#define WITH_LCD_MONO 1 +``` + +* awtk-linux-fb,请在 awtk\_config.py 中定义下面的宏。 + +``` +COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_LCD_MONO=1 ' +``` + ## 参考: * [免费像素字体](https://www.uisdc.com/25-pixel-fonts)