I am trying to get mcuboot and lvgl working with the pinetime_devkit0 board using Zephyr. I have been able to get lvgl working with the PineTime board and MCUboot compiling with the PineTime board, but I have not been able to get the PineTime + MCUboot + lvgl working. The error I get is:
ld.bfd: region `FLASH' overflowed by 87428 bytes
Here are the outputs based on the prj.conf changes below. The first column (Pre LVGL) is the base prj.conf and each prj.conf settings in row 4 are added to the prj.conf and the outcomes are listed in row 2 and 3.
Pre LVGL |
ST7789 |
LVGL |
Memory region Used Size Region Size %age Used FLASH: 41260 B 48 KB 83.94% RAM: 23056 B 64 KB 35.18% IDT_LIST: 0 GB 2 KB 0.00% |
Memory region Used Size Region Size %age Used FLASH: 41260 B 48 KB 83.94% RAM: 23056 B 64 KB 35.18% IDT_LIST: 0 GB 2 KB 0.00% |
Memory region Used Size Region Size %age Used FLASH: 41260 B 48 KB 83.94% RAM: 23056 B 64 KB 35.18% IDT_LIST: 0 GB 2 KB 0.00% |
Memory region Used Size Region Size %age Used FLASH: 166652 B 237056 B 70.30% RAM: 27216 B 64 KB 41.53% IDT_LIST: 0 GB 2 KB 0.00% |
Memory region Used Size Region Size %age Used FLASH: 168340 B 237056 B 71.01% RAM: 27240 B 64 KB 41.56% IDT_LIST: 0 GB 2 KB 0.00% |
ld.bfd: region `FLASH' overflowed by 87428 bytes |
# nothing here
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MULTITHREADING=y
CONFIG_SPI=y
CONFIG_SPI_NOR=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_STREAM_FLASH=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y
# MCUBOOT
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y
# Logging
CONFIG_LOG=y
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
|
# Display
CONFIG_DISPLAY=y
CONFIG_ST7789V=y
CONFIG_ST7789V_RGB565=y
#CONFIG_DISPLAY_LOG_LEVEL_ERR=y
|
# LittlevGL
CONFIG_LVGL=y
CONFIG_LV_Z_MEM_POOL_NUMBER_BLOCKS=3
#CONFIG_MAIN_STACK_SIZE=2048
#CONFIG_LOG=y
CONFIG_LV_MEM_CUSTOM=y
#CONFIG_LV_USE_LOG=y
CONFIG_LV_USE_LABEL=y
#CONFIG_LV_USE_BTN=y
CONFIG_LV_USE_IMG=y
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_18=y
CONFIG_LV_COLOR_DEPTH_16=y
CONFIG_LV_COLOR_16_SWAP=y
|