From 77d78566427a65abbc940f5455bdb7c2733efa57 Mon Sep 17 00:00:00 2001 From: seyyah Date: Thu, 26 Apr 2018 15:23:57 -0600 Subject: [PATCH] configs/stm32f429i-disco: Add a LittlevGL configuration for stm32f429i-disco --- configs/stm32f429i-disco/README.txt | 24 +++++++ configs/stm32f429i-disco/lvgl/defconfig | 83 +++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 configs/stm32f429i-disco/lvgl/defconfig diff --git a/configs/stm32f429i-disco/README.txt b/configs/stm32f429i-disco/README.txt index c2438e4cbc..e323097fcf 100644 --- a/configs/stm32f429i-disco/README.txt +++ b/configs/stm32f429i-disco/README.txt @@ -709,6 +709,30 @@ Where is one of the following: Terminating! nsh> + lgvl: + ---- + + STM32F429I-DISCO LittlevGL demo example + + Configure and build + + tools/configure -a stm32f429i-disco/lvgl + + Loading + + st-flash write nuttx.bin 0x8000000 + + Executing + + The ltdc is initialized during boot up. Interaction with NSH is via + the serial console at 115200 8N1 baud. From the nsh comand line + execute the lvgldemo example: + + nsh> lvgldemo + + The test will execute the calibration process and then run the + LittlevGL demo project. + nsh: --- Configures the NuttShell (nsh) located at apps/examples/nsh. The diff --git a/configs/stm32f429i-disco/lvgl/defconfig b/configs/stm32f429i-disco/lvgl/defconfig new file mode 100644 index 0000000000..11dc167e8e --- /dev/null +++ b/configs/stm32f429i-disco/lvgl/defconfig @@ -0,0 +1,83 @@ +# CONFIG_ARCH_FPU is not set +# CONFIG_STM32_DMA2D_RGB888 is not set +# CONFIG_STM32_FLASH_PREFETCH is not set +CONFIG_ARCH_BOARD_STM32F429I_DISCO=y +CONFIG_ARCH_BOARD="stm32f429i-disco" +CONFIG_ARCH_BUTTONS=y +CONFIG_ARCH_CHIP_STM32=y +CONFIG_ARCH_CHIP_STM32F429Z=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARCH="arm" +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y +CONFIG_BOARD_LOOPSPERMSEC=16717 +CONFIG_BUILTIN=y +CONFIG_DEBUG_CUSTOMOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_DISABLE_POLL=y +CONFIG_DRIVERS_VIDEO=y +CONFIG_EXAMPLES_FB=y +CONFIG_EXAMPLES_LVGLDEMO=y +CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y +CONFIG_EXAMPLES_NSH=y +CONFIG_EXAMPLES_TOUCHSCREEN=y +CONFIG_FS_PROCFS=y +CONFIG_GRAPHICS_LVGL=y +CONFIG_HAVE_CXX=y +CONFIG_HAVE_CXXINITIALIZE=y +CONFIG_HEAP2_BASE=0xD0000000 +CONFIG_HEAP2_SIZE=8081408 +CONFIG_INPUT_STMPE811=y +CONFIG_INPUT=y +CONFIG_INTELHEX_BINARY=y +CONFIG_LV_HOR_RES=240 +CONFIG_LV_VER_RES=320 +CONFIG_MAX_TASKS=16 +CONFIG_MAX_WDOGPARMS=2 +CONFIG_MM_REGIONS=2 +CONFIG_MQ_MAXMSGSIZE=64 +CONFIG_NFILE_DESCRIPTORS=8 +CONFIG_NFILE_STREAMS=8 +CONFIG_NSH_ARCHINIT=y +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_LINELEN=64 +CONFIG_NSH_READLINE=y +CONFIG_PREALLOC_MQ_MSGS=4 +CONFIG_PREALLOC_TIMERS=4 +CONFIG_PREALLOC_WDOGS=4 +CONFIG_RAM_SIZE=114688 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_HPWORK=y +CONFIG_SCHED_WAITPID=y +CONFIG_SDCLONE_DISABLE=y +CONFIG_SPI_CMDDATA=y +CONFIG_START_DAY=15 +CONFIG_START_MONTH=11 +CONFIG_START_YEAR=2017 +CONFIG_STM32_CCMEXCLUDE=y +CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG=y +CONFIG_STM32_DMA2D_NLAYERS=1 +CONFIG_STM32_DMA2D=y +CONFIG_STM32_FSMC_SRAM=y +CONFIG_STM32_FSMC=y +CONFIG_STM32_I2C3=y +CONFIG_STM32_JTAG_SW_ENABLE=y +CONFIG_STM32_LTDC_FB_BASE=0xD07B5000 +CONFIG_STM32_LTDC_FB_SIZE=307200 +CONFIG_STM32_LTDC_INTERFACE=y +CONFIG_STM32_LTDC=y +CONFIG_STM32_PWR=y +CONFIG_STM32_SPI5=y +CONFIG_STM32_USART1=y +CONFIG_STM32F429I_DISCO_ILI9341=y +CONFIG_STMPE811_ACTIVELOW=y +CONFIG_STMPE811_EDGE=y +CONFIG_STMPE811_THRESHX=39 +CONFIG_STMPE811_THRESHY=51 +CONFIG_TASK_NAME_SIZE=0 +CONFIG_USART1_SERIAL_CONSOLE=y +CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_VIDEO_FB=y +CONFIG_WDOG_INTRESERVE=0