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
>>
>> Be
Total; used; free; largest;
Umem: 191920 7568 184352 124192
Ben
-Oorspronkelijk bericht-
Van: Gregory Nutt
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.
Umem: 191920 7568 184352 124192
Ben
-Oorspronkelijk bericht-
Van: Gregory Nutt
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.
Priv->fblen = 0
Trying to allocate a buffer of zero length will return the value NULL too.
Priv->fblen = 0
-Oorspronkelijk bericht-
Van: Gregory Nutt
Verzonden: zaterdag 4 januari 2020 21:02
Aan: dev@nuttx.apache.org
Onderwerp: Re: NX Graphics
> nsh> free
>
> procfs_open: Open 'meminfo'
>
> meminfo_open: Open 'meminfo'
>
Ow and PS:
With FSMC I could allocate the framebuffer tot he ILI9341???
-Oorspronkelijk bericht-
Van: Gregory Nutt
Verzonden: zaterdag 4 januari 2020 21:09
Aan: dev@nuttx.apache.org
Onderwerp: Re: NX Graphics
>> priv->fbmem = 0
> But what was priv->fblen? The size yo
Yes... but where does it get set?
I tried the f429i and compared "free":
(picture… hope it shows)
-Oorspronkelijk bericht-
Van: Gregory Nutt
Verzonden: zaterdag 4 januari 2020 21:09
Aan: dev@nuttx.apache.org
Onderwerp: Re: NX Graphics
>> priv->fb
priv->fbmem = 0
But what was priv->fblen? The size you are trying to allocate? If it
is greater then 124,848 then the allocation will fail.
For 16-bit color and 320x240 LCD you would need to allocate 2*320*240 =
153,600 then I would expect priv->fblen to be 153,600 and I would expect
the
nsh> free
procfs_open: Open 'meminfo'
meminfo_open: Open 'meminfo'
procfs_read: buffer=0x16d0 buflen=512
meminfo_read: buffer=0x16d0 buflen=512
total used freelargest
Umem: 192576 7696 184880 124848
procfs_read: buffer=0x16d0
read: buffer=0x16d0 buflen=512
meminfo_read: buffer=0x16d0 buflen=512
nsh>
priv->fbmem = 0
-Oorspronkelijk bericht-
Van: Gregory Nutt
Verzonden: zaterdag 4 januari 2020 19:38
Aan: dev@nuttx.apache.org
Onderwerp: Re: NX Graphics
Do you have enough memory to allocate the frame
?
Van: disruptivesolution...@gmail.com
Verzonden: zaterdag 4 januari 2020 14:49
Aan: 'dev@nuttx.apache.org'
Onderwerp: NX Graphics
All,
I am trying to get a ILI9341 working and a tip from Dave gave me the option
to implement it as a generic SPI driver. Before I have t
amebuffer should be made before
this application stack right?
Van: disruptivesolution...@gmail.com
Verzonden: zaterdag 4 januari 2020 14:49
Aan: 'dev@nuttx.apache.org'
Onderwerp: NX Graphics
All,
I am trying to get a ILI9341 working and a tip from Dave gave me the option
All,
I am trying to get a ILI9341 working and a tip from Dave gave me the option
to implement it as a generic SPI driver. Before I have tried to do this with
LTDC and FMC like on the STM32F429i.
But in both cases I get in pdccurses:
* Unable to create SP: in pdc_initscr.c its not rea
13 matches
Mail list logo