Răsfoiți Sursa

[Renesas]Fix add lvgl build error problem

Rbb666 2 ani în urmă
părinte
comite
aa19e1376c

+ 11 - 0
bsp/renesas/ra6m3-ek/board/lvgl/lv_port_disp.c

@@ -34,6 +34,17 @@ static struct rt_device_graphic_info info;
 __attribute__((section(".ARM.__at_0x1FFE0000"))) lv_color_t buf_1[COLOR_BUFFER];
 
 #if !DLG_LVGL_USE_GPU_RA6M3
+void _ra_port_display_callback(display_callback_args_t * p_args)
+{
+    /* enter interrupt */
+    rt_interrupt_enter();
+
+    /* TODO */
+
+    /* leave interrupt */
+    rt_interrupt_leave();
+}
+
 static void color_to16_maybe(lv_color16_t *dst, lv_color_t *src)
 {
 #if (LV_COLOR_DEPTH == 16)

+ 4 - 0
bsp/renesas/ra6m3-ek/board/ports/SConscript

@@ -1,8 +1,12 @@
 import os
 from building import *
 
+src = []
 objs = []
 cwd  = GetCurrentDir()
+CPPPATH = [cwd]
+
+objs = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
 
 list = os.listdir(cwd)
 for item in list: