kasjer commented on issue #3066:
URL: https://github.com/apache/mynewt-core/issues/3066#issuecomment-1719325909

   @Kisszalimo, while I don't have pinetime watch to verify that it works, here 
is what you may try:
   
   There is pending PR #3063 that adds options that can tweak LVGL a little bit 
so it will fit in memory.
   You could merge commits from this PR to your mynewt-core branch.
   I hope PR will be merged soon.
   
   Next you can change you target syscfg.yml to have this:
   ```yml
   syscfg.vals:
       LCD_ITF: spi
       LCD_SPI_DEV_NAME: '"spi0"'
       LCD_SPI_FREQ: 8000
       LCD_SPI_MODE: BUS_SPI_MODE_0
       LCD_CS_PIN: 25
       LCD_RESET_PIN: 26
       LCD_DC_PIN: 18
       LCD_BL_PIN: 13
       LVGL_DISPLAY_HORIZONTAL_RESOLUTION: 240
       LVGL_DISPLAY_VERTICAL_RESOLUTION: 240
       LVGL_ST7789: 1
      # this reduce memory usage of LVGL
       LV_MEM_SIZE: 40000
   ```
   I did test it on **nordic_pca10040** target that has same MCU but no other 
peripherals except LCD


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to