From 62c2b3e1ec62d8e6f13bc431a22b90a873c324e6 Mon Sep 17 00:00:00 2001 From: Xu Xingliang Date: Mon, 22 Apr 2024 12:14:15 +0800 Subject: [PATCH] lvgl: update existing config to use lvgl v9 These configs are changed based on below rules. 1. always enable +CONFIG_LV_USE_NUTTX=y 2. If touchpad is used, enable +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y 3. enable log by +CONFIG_LV_USE_LOG=y 4. If -CONFIG_LV_MEM_CUSTOM=y previously defined, replace it with +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y 5. If -CONFIG_LV_PORT_USE_FBDEV=y, default config is for fbdev. If -CONFIG_LV_PORT_USE_LCDDEV=y, +CONFIG_LV_USE_NUTTX_LCD=y 6. Remove all -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" 7. If -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y, replace it with CONFIG_LV_NUTTX_LCD_DOUBLE_BUFFER=y. For fbdev, double buffer is automatically detected. 8. If -CONFIG_LV_COLOR_16_SWAP=y, need to upgrade the LCD driver to support hardware byte order swap. Signed-off-by: Xu Xingliang --- .../imxrt/imxrt1060-evk/configs/lvgl/defconfig | 10 +++++----- .../imxrt/imxrt1064-evk/configs/lvgl/defconfig | 10 +++++----- .../lpcxpresso-lpc54628/configs/lvgl/defconfig | 10 +++++----- .../configs/lvgl/defconfig | 10 +++------- .../stm32f429i-disco/configs/lvgl/defconfig | 10 +++++----- .../stm32f746g-disco/configs/lvgl/defconfig | 10 +++++----- .../stm32h745i-disco/configs/lvgl/defconfig | 7 +++++++ .../arm64/a64/pinephone/configs/lvgl/defconfig | 10 +++++----- .../esp32/esp32-2432S028/configs/lvgl/defconfig | 13 ++++++------- .../configs/lvgl_fb/defconfig | 9 +++++---- .../configs/lvgl_lcd/defconfig | 13 +++++++------ .../configs/lvgl_ili9341/defconfig | 14 +++++++------- .../configs/lvgl_st7789/defconfig | 14 +++++++------- .../esp32s3/esp32s3-box/configs/lvgl-3/defconfig | 16 +++++++--------- .../esp32s3/esp32s3-box/configs/lvgl/defconfig | 16 +++++++--------- 15 files changed, 86 insertions(+), 86 deletions(-) diff --git a/boards/arm/imxrt/imxrt1060-evk/configs/lvgl/defconfig b/boards/arm/imxrt/imxrt1060-evk/configs/lvgl/defconfig index 6efe715202..2410b1e545 100644 --- a/boards/arm/imxrt/imxrt1060-evk/configs/lvgl/defconfig +++ b/boards/arm/imxrt/imxrt1060-evk/configs/lvgl/defconfig @@ -44,13 +44,13 @@ CONFIG_INPUT=y CONFIG_INPUT_FT5X06=y CONFIG_INTELHEX_BINARY=y CONFIG_LPUART1_SERIAL_CONSOLE=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MOTOROLA_SREC=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig b/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig index ec0381a06c..bddab67555 100644 --- a/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig +++ b/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig @@ -46,13 +46,13 @@ CONFIG_INPUT=y CONFIG_INPUT_FT5X06=y CONFIG_INTELHEX_BINARY=y CONFIG_LPUART1_SERIAL_CONSOLE=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MOTOROLA_SREC=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/arm/lpc54xx/lpcxpresso-lpc54628/configs/lvgl/defconfig b/boards/arm/lpc54xx/lpcxpresso-lpc54628/configs/lvgl/defconfig index c55829eb9a..514e39cd3b 100644 --- a/boards/arm/lpc54xx/lpcxpresso-lpc54628/configs/lvgl/defconfig +++ b/boards/arm/lpc54xx/lpcxpresso-lpc54628/configs/lvgl/defconfig @@ -48,13 +48,13 @@ CONFIG_LPC54_LCD_VFRONTPORCH=4 CONFIG_LPC54_LCD_VPULSE=10 CONFIG_LPC54_LCD_VRAMBASE=0xa0000000 CONFIG_LPC54_USART0=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=2 CONFIG_PREALLOC_TIMERS=4 CONFIG_RAM_SIZE=163840 diff --git a/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/configs/lvgl/defconfig b/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/configs/lvgl/defconfig index 849234adc7..ec536e71be 100644 --- a/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/configs/lvgl/defconfig +++ b/boards/arm/rp2040/waveshare-rp2040-lcd-1.28/configs/lvgl/defconfig @@ -38,17 +38,13 @@ CONFIG_LCD_DEV=y CONFIG_LCD_GC9A01=y CONFIG_LCD_GC9A01_BGR=y CONFIG_LCD_GC9A01_FREQUENCY=50000000 -CONFIG_LV_COLOR_16_SWAP=y -CONFIG_LV_DEMO_WIDGETS_SLIDESHOW=y CONFIG_LV_MEM_SIZE_KILOBYTES=48 -CONFIG_LV_PORT_LCDDEV_FULL_SCREEN_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" -CONFIG_LV_USE_DEMO_BENCHMARK=y CONFIG_LV_USE_DEMO_STRESS=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig b/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig index 41244b7756..f34da86dc6 100644 --- a/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig +++ b/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig @@ -36,13 +36,13 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INPUT=y CONFIG_INPUT_STMPE811=y CONFIG_INTELHEX_BINARY=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=2 CONFIG_MQ_MAXMSGSIZE=64 CONFIG_NSH_ARCHINIT=y diff --git a/boards/arm/stm32f7/stm32f746g-disco/configs/lvgl/defconfig b/boards/arm/stm32f7/stm32f746g-disco/configs/lvgl/defconfig index dcf4cae4f6..140a8dc6b0 100644 --- a/boards/arm/stm32f7/stm32f746g-disco/configs/lvgl/defconfig +++ b/boards/arm/stm32f7/stm32f746g-disco/configs/lvgl/defconfig @@ -42,13 +42,13 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INPUT=y CONFIG_INPUT_FT5X06=y CONFIG_INTELHEX_BINARY=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=3 CONFIG_MQ_MAXMSGSIZE=256 CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig b/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig index 31ac8e2a21..3000a9e186 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig +++ b/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig @@ -43,6 +43,13 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INPUT=y CONFIG_INPUT_FT5X06=y CONFIG_INTELHEX_BINARY=y +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y +CONFIG_LV_USE_DEMO_WIDGETS=y +CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MQ_MAXMSGSIZE=256 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/arm64/a64/pinephone/configs/lvgl/defconfig b/boards/arm64/a64/pinephone/configs/lvgl/defconfig index 2b71e2945c..05c976f14d 100644 --- a/boards/arm64/a64/pinephone/configs/lvgl/defconfig +++ b/boards/arm64/a64/pinephone/configs/lvgl/defconfig @@ -47,12 +47,12 @@ CONFIG_INTELHEX_BINARY=y CONFIG_LV_COLOR_DEPTH_32=y CONFIG_LV_DPI_DEF=267 CONFIG_LV_FONT_DEFAULT_MONTSERRAT_20=y -CONFIG_LV_MEM_SIZE_KILOBYTES=64 -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 diff --git a/boards/xtensa/esp32/esp32-2432S028/configs/lvgl/defconfig b/boards/xtensa/esp32/esp32-2432S028/configs/lvgl/defconfig index 4c1ca71eaf..cb2e7aa893 100644 --- a/boards/xtensa/esp32/esp32-2432S028/configs/lvgl/defconfig +++ b/boards/xtensa/esp32/esp32-2432S028/configs/lvgl/defconfig @@ -36,15 +36,14 @@ CONFIG_LCD=y CONFIG_LCD_DEV=y CONFIG_LCD_ILI9341=y CONFIG_LCD_ILI9341_IFACE0=y -CONFIG_LV_COLOR_16_SWAP=y -CONFIG_LV_DEMO_WIDGETS_SLIDESHOW=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=3 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_fb/defconfig b/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_fb/defconfig index 8e6d5b18c2..5e26376208 100644 --- a/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_fb/defconfig +++ b/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_fb/defconfig @@ -43,12 +43,13 @@ CONFIG_LCD_ST7789_XOFFSET=53 CONFIG_LCD_ST7789_XRES=135 CONFIG_LCD_ST7789_YOFFSET=40 CONFIG_LCD_ST7789_YRES=240 -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_USE_FBDEV=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=3 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig b/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig index efa7c2166a..62248a1517 100644 --- a/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig +++ b/boards/xtensa/esp32/ttgo_t_display_esp32/configs/lvgl_lcd/defconfig @@ -42,14 +42,15 @@ CONFIG_LCD_ST7789_XOFFSET=53 CONFIG_LCD_ST7789_XRES=135 CONFIG_LCD_ST7789_YOFFSET=40 CONFIG_LCD_ST7789_YRES=240 -CONFIG_LV_COLOR_16_SWAP=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_NUTTX_LCD_DOUBLE_BUFFER=y +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=3 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y diff --git a/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_ili9341/defconfig b/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_ili9341/defconfig index 712471c80e..ce81b39db9 100644 --- a/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_ili9341/defconfig +++ b/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_ili9341/defconfig @@ -39,15 +39,15 @@ CONFIG_LCD=y CONFIG_LCD_DEV=y CONFIG_LCD_ILI9341=y CONFIG_LCD_ILI9341_IFACE0=y -CONFIG_LV_COLOR_16_SWAP=y -CONFIG_LV_DEMO_WIDGETS_SLIDESHOW=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_NUTTX_LCD_DOUBLE_BUFFER=y +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 diff --git a/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_st7789/defconfig b/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_st7789/defconfig index 087adcaf79..d43ba68663 100644 --- a/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_st7789/defconfig +++ b/boards/xtensa/esp32s2/esp32s2-kaluga-1/configs/lvgl_st7789/defconfig @@ -41,15 +41,15 @@ CONFIG_LCD=y CONFIG_LCD_DEV=y CONFIG_LCD_ST7789=y CONFIG_LCD_ST7789_FREQUENCY=10000000 -CONFIG_LV_COLOR_16_SWAP=y -CONFIG_LV_DEMO_WIDGETS_SLIDESHOW=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_NUTTX_LCD_DOUBLE_BUFFER=y +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 diff --git a/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl-3/defconfig b/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl-3/defconfig index f2d9550a54..1aef75f0f7 100644 --- a/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl-3/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl-3/defconfig @@ -53,18 +53,16 @@ CONFIG_INTELHEX_BINARY=y CONFIG_LCD_ILI9341=y CONFIG_LCD_ILI9341_IFACE0=y CONFIG_LCD_RPORTRAIT=y -CONFIG_LV_COLOR_16_SWAP=y CONFIG_LV_FONT_MONTSERRAT_20=y -CONFIG_LV_MEMCPY_MEMSET_STD=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y -CONFIG_LV_PORT_LCDDEV_FULL_SCREEN_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_NUTTX_LCD_DOUBLE_BUFFER=y +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=2 CONFIG_NDEBUG=y CONFIG_NSH_ARCHINIT=y diff --git a/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl/defconfig b/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl/defconfig index 772f14f4b4..eb0904d421 100644 --- a/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-box/configs/lvgl/defconfig @@ -56,18 +56,16 @@ CONFIG_LCD_ST7789_BGR=y CONFIG_LCD_ST7789_FREQUENCY=40000000 CONFIG_LCD_ST7789_XRES=320 CONFIG_LCD_ST7789_YRES=240 -CONFIG_LV_COLOR_16_SWAP=y CONFIG_LV_FONT_MONTSERRAT_20=y -CONFIG_LV_MEMCPY_MEMSET_STD=y -CONFIG_LV_MEM_CUSTOM=y -CONFIG_LV_PORT_LCDDEV_DOUBLE_BUFFER=y -CONFIG_LV_PORT_LCDDEV_FULL_SCREEN_BUFFER=y -CONFIG_LV_PORT_USE_LCDDEV=y -CONFIG_LV_PORT_USE_TOUCHPAD=y -CONFIG_LV_TICK_CUSTOM=y -CONFIG_LV_TICK_CUSTOM_INCLUDE="port/lv_port_tick.h" +CONFIG_LV_NUTTX_LCD_DOUBLE_BUFFER=y +CONFIG_LV_USE_CLIB_MALLOC=y +CONFIG_LV_USE_CLIB_SPRINTF=y +CONFIG_LV_USE_CLIB_STRING=y CONFIG_LV_USE_DEMO_WIDGETS=y CONFIG_LV_USE_LOG=y +CONFIG_LV_USE_NUTTX=y +CONFIG_LV_USE_NUTTX_LCD=y +CONFIG_LV_USE_NUTTX_TOUCHSCREEN=y CONFIG_MM_REGIONS=2 CONFIG_NDEBUG=y CONFIG_NSH_ARCHINIT=y