Index: system.h
===================================================================
--- /YC3121_SDK/fw/core/system.h	(revision 976)
+++ /YC3121_SDK/fw/core/system.h	(working copy)
@@ -30,7 +30,7 @@
 
 void _assert_handler(const char *file, int line, const char *func);
 
-void printv(uint8_t *buf, uint32_t len, uint8_t *s);
+void printv(uint8_t *buf, uint32_t len, char *s);
 
 #define _ASSERT(x)	\
 if (!(x))                                                                    \
Index: system.c
===================================================================
--- /YC3121_SDK/fw/core/system.c	(revision 976)
+++ /YC3121_SDK/fw/core/system.c	(working copy)
@@ -249,7 +249,7 @@
     va_end(vaArgP);
 }
 
-void printv(uint8_t *buf, uint32_t len, uint8_t *s)
+void printv(uint8_t *buf, uint32_t len, char *s)
 {
     uint32_t i = 0;
     uint32_t n = 0;
Index: type.h
===================================================================
--- /YC3121_SDK/fw/core/type.h	(revision 976)
+++ /YC3121_SDK/fw/core/type.h	(working copy)
@@ -27,6 +27,15 @@
 typedef unsigned short     word;
 #endif
 
+#define 	BIT7    ((uint8_t)1<<7)
+#define 	BIT6    ((uint8_t)1<<6)
+#define 	BIT5    ((uint8_t)1<<5)
+#define 	BIT4    ((uint8_t)1<<4)
+#define 	BIT3    ((uint8_t)1<<3)
+#define 	BIT2    ((uint8_t)1<<2)
+#define 	BIT1    ((uint8_t)1<<1)
+#define 	BIT0    ((uint8_t)1<<0)
+
 /** 
   * @brief  __NOINLINE definition
   */ 
