You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/08/28 15:25:28 UTC

[GitHub] [incubator-nuttx] patacongo commented on issue #1643: stm32f746g-disco:lvgl, fb, nxdemo, nxterm "arm_hardfault: PANIC!!! Hard fault:"

patacongo commented on issue #1643:
URL: https://github.com/apache/incubator-nuttx/issues/1643#issuecomment-682707704


   
   > For stm32f429i-disco it is about 300KiB, try to use the same value:
   > CONFIG_STM32_LTDC_FB_SIZE=307200
   >
   This is the internal SRAM:
   
   CONFIG_RAM_SIZE=114688
   CONFIG_RAM_START=0x20000000
   
   The internal SRAM is insufficient to support frambebuffers. There are 
   two framebuffers in the fb configuration that lie in external RAM:
   
   CONFIG_STM32_DMA2D_FB_BASE=0xD07B5000
   CONFIG_STM32_DMA2D_FB_SIZE=307200
   
   CONFIG_STM32_LTDC_FB_BASE=0xD076A000
   CONFIG_STM32_LTDC_FB_SIZE=307200
   
   The address is determined by which FMC chip select you use.  The 
   framebuffers are excluded from the heap via:
   
   CONFIG_HEAP2_BASE=0xD0000000
   CONFIG_HEAP2_SIZE=7774208
   
   Just setting the framebuffer size without initializing and managing the 
   external memory would not work.
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org