Browse Source

Merge branch 'master' of https://gitee.com/openLuat/LuatOS

OneLifeHowDo 1 year ago
parent
commit
470e4b9467

+ 2 - 1
components/lcd/luat_lcd_nv3037.c

@@ -28,6 +28,7 @@ luat_lcd_opts_t lcd_opts_nv3037 = {
     .direction0 = 0x00,
     .direction90 = 0xC0,
     .direction180 = 0x70,
-    .direction270 = 0xA0
+    .direction270 = 0xA0,
+	.rb_swap = 1,
 };
 

+ 2 - 1
components/lcd/luat_lcd_st7735.c

@@ -32,6 +32,7 @@ luat_lcd_opts_t lcd_opts_st7735 = {
     .direction0 = 0xC0,
     .direction90 = 0x70,
     .direction180 = 0x00,
-    .direction270 = 0xA0
+    .direction270 = 0xA0,
+	.rb_swap = 1,
 };
 

+ 2 - 1
components/lcd/luat_lcd_st7789.c

@@ -40,5 +40,6 @@ luat_lcd_opts_t lcd_opts_st7789 = {
     .direction0 = 0x00,
     .direction90 = 0xC0,
     .direction180 = 0x70,
-    .direction270 = 0xA0
+    .direction270 = 0xA0,
+	.rb_swap = 1,
 };

+ 1 - 1
components/network/adapter/luat_network_adapter.h

@@ -2,7 +2,7 @@
 #define __LUAT_NW_ADAPTER_H__
 #include "luat_base.h"
 // #ifdef LUAT_USE_NETWORK
-#if defined(LUAT_EC7XX_CSDK) || defined(CHIP_EC618) || defined(__AIR105_BSP__)
+#if defined(LUAT_EC7XX_CSDK) || defined(CHIP_EC618) || defined(__AIR105_BSP__) || defined(CONFIG_SOC_8910) || defined(CONFIG_SOC_8850)
 #include "bsp_common.h"
 #endif
 #include "luat_rtos.h"