4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-12 21:09:15 +08:00

[Renesas]Fix add lvgl build error problem

This commit is contained in:
Rbb666 2023-03-01 17:26:25 +08:00 committed by guo
parent afd86f4547
commit aa19e1376c
2 changed files with 15 additions and 0 deletions

View File

@ -34,6 +34,17 @@ static struct rt_device_graphic_info info;
__attribute__((section(".ARM.__at_0x1FFE0000"))) lv_color_t buf_1[COLOR_BUFFER]; __attribute__((section(".ARM.__at_0x1FFE0000"))) lv_color_t buf_1[COLOR_BUFFER];
#if !DLG_LVGL_USE_GPU_RA6M3 #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) static void color_to16_maybe(lv_color16_t *dst, lv_color_t *src)
{ {
#if (LV_COLOR_DEPTH == 16) #if (LV_COLOR_DEPTH == 16)

View File

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