Oke I think I am getting somewhere....

Priv has (during lcd_framebuffer):
fblen -> 153600
xres -> 320
yres -> 240
stride -> 640
display -> 0 '\0'

fbmem = 0x0
*fbmem -> 72 'H'

But it stil runs into this error:
priv->fbmem  = (FAR uint8_t *)kmm_zalloc(priv->fblen);
  if (priv->fbmem == NULL)
    {
--?>      lcderr("ERROR: Failed to allocate frame buffer memory\n");

What am I overlooking here? Yes fbmem is 0... .....

                    Total;          used;     free;         largest;            
                                              
Umem:       191920       7568     184352     124192

Ben

-----Oorspronkelijk bericht-----
Van: Gregory Nutt <spudan...@gmail.com> 
Verzonden: zaterdag 4 januari 2020 22:39
Aan: dev@nuttx.apache.org
Onderwerp: Re: NX Graphics


> Priv->fblen = 0

Trying to allocate a buffer of zero length will return  the value NULL too.



Reply via email to