Ahhh so say FSMC with say a DS3231 I2C Precision Clock with AT24C32 Memory???
The resources onboard are insufficient...? Ben Verstuurd vanaf mijn iPhone > Op 5 jan. 2020 om 14:53 heeft Gregory Nutt <spudan...@gmail.com> het volgende > geschreven: > > You need to allocate **contiguous** memory for the framebuffer. The largest > contiguous region in the heap has size 124,192 bytes. You can allocate > nothing larger than that. > > The size of the framebuffer you are tying to allocate is 153,600 bytes. So > any attempt to allocate that framebuffer from that heap will fail. > >> On 1/5/2020 7:49 AM, disruptivesolution...@gmail.com wrote: >> 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. >> >> >> >