diff --git a/bsp/renesas/ra6m3-ek/board/lvgl/lv_port_disp.c b/bsp/renesas/ra6m3-ek/board/lvgl/lv_port_disp.c index ed55596715..15ed301098 100644 --- a/bsp/renesas/ra6m3-ek/board/lvgl/lv_port_disp.c +++ b/bsp/renesas/ra6m3-ek/board/lvgl/lv_port_disp.c @@ -14,7 +14,7 @@ #include "lv_port_gpu.h" #endif -#ifdef BSP_USING_SPI_LCD +#ifdef PKG_USING_ILI9341 #include "lcd_ili9341.h" #else #include "lcd_port.h" @@ -48,7 +48,7 @@ static void color_to16_maybe(lv_color16_t *dst, lv_color_t *src) static void disp_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p) { -#ifdef BSP_USING_SPI_LCD +#ifdef PKG_USING_ILI9341 lcd_fill_array_spi(area->x1, area->y1, area->x2, area->y2, color_p); #elif DLG_LVGL_USE_GPU_RA6M3 lv_port_gpu_flush(); @@ -100,7 +100,7 @@ static void disp_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_ void lv_port_disp_init(void) { -#ifdef BSP_USING_SPI_LCD +#ifdef PKG_USING_ILI9341 spi_lcd_init(20); #else static rt_device_t device; diff --git a/bsp/renesas/ra6m3-ek/buildinfo.gpdsc b/bsp/renesas/ra6m3-ek/buildinfo.gpdsc index 1e4223b52e..75232d3a70 100644 --- a/bsp/renesas/ra6m3-ek/buildinfo.gpdsc +++ b/bsp/renesas/ra6m3-ek/buildinfo.gpdsc @@ -58,13 +58,11 @@ - - @@ -124,7 +122,6 @@ - diff --git a/bsp/renesas/ra6m4-cpk/board/lvgl/lv_port_disp.c b/bsp/renesas/ra6m4-cpk/board/lvgl/lv_port_disp.c index 3ed47e59c8..625f6de5cb 100644 --- a/bsp/renesas/ra6m4-cpk/board/lvgl/lv_port_disp.c +++ b/bsp/renesas/ra6m4-cpk/board/lvgl/lv_port_disp.c @@ -10,7 +10,7 @@ #include #include "hal_data.h" -#ifdef BSP_USING_SPI_LCD +#ifdef PKG_USING_ILI9341 #include "lcd_ili9341.h" #endif @@ -29,7 +29,7 @@ static lv_color_t buf_2[COLOR_BUFFER]; static void disp_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p) { -#ifdef BSP_USING_SPI_LCD +#ifdef PKG_USING_ILI9341 lcd_fill_array_spi(area->x1, area->y1, area->x2, area->y2, color_p); #endif lv_disp_flush_ready(disp_drv); @@ -37,7 +37,7 @@ static void disp_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_ void lv_port_disp_init(void) { -#ifdef BSP_USING_SPI_LCD +#ifdef PKG_USING_ILI9341 spi_lcd_init(20); #endif /*Initialize `disp_buf` with the buffer(s). With only one buffer use NULL instead buf_2 */ diff --git a/bsp/renesas/ra6m4-cpk/buildinfo.gpdsc b/bsp/renesas/ra6m4-cpk/buildinfo.gpdsc index f0fab019bd..ed18fa2506 100644 --- a/bsp/renesas/ra6m4-cpk/buildinfo.gpdsc +++ b/bsp/renesas/ra6m4-cpk/buildinfo.gpdsc @@ -57,56 +57,73 @@ - - + - + + + + + + + + + + + + + + + - + + + + + @@ -114,15 +131,16 @@ - + + diff --git a/bsp/renesas/ra6m4-cpk/configuration.xml b/bsp/renesas/ra6m4-cpk/configuration.xml index 8c62a55178..fbde369a97 100644 --- a/bsp/renesas/ra6m4-cpk/configuration.xml +++ b/bsp/renesas/ra6m4-cpk/configuration.xml @@ -1,7 +1,7 @@ -