mirror of
https://github.com/olikraus/u8g2.git
synced 2026-07-27 20:05:57 +00:00
[rt-thread] beautify rt-thread port codes
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# RT-Thread building script for bridge
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -190,7 +190,7 @@ uint8_t u8x8_pgm_read_esp(const uint8_t * addr); /* u8x8_8x8.c */
|
|||||||
#define U8X8_USE_PINS
|
#define U8X8_USE_PINS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RTT_U8G2
|
#ifdef __RTTHREAD__
|
||||||
#define U8X8_USE_PINS
|
#define U8X8_USE_PINS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -197,8 +197,6 @@ else:
|
|||||||
path = [cwd + '/port']
|
path = [cwd + '/port']
|
||||||
path += [cwd + '/../../csrc']
|
path += [cwd + '/../../csrc']
|
||||||
|
|
||||||
LOCAL_CCFLAGS = ''
|
group = DefineGroup('u8g2', src, depend = ['PKG_USING_U8G2_OFFICIAL'], CPPPATH = path)
|
||||||
|
|
||||||
group = DefineGroup('U8G2', src, depend = ['PKG_USING_U8G2_OFFICIAL'], CPPPATH = path, LOCAL_CCFLAGS = LOCAL_CCFLAGS, CPPDEFINES=['RTT_U8G2'])
|
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|||||||
Reference in New Issue
Block a user