Jump to content
Nickel

Integration with own memory area

Recommended Posts

How do you do?

I actually want to run the graphics library under Linux via the framebuffer interface, which unfortunately doesn't work yet.
What I have is a self-written program that uses a memory area and then talks to my controller via SPI.
How do I make the graphics library use this memory instead of a framebuffer?

Greetings Lukas

Share this post


Link to post
Share on other sites

Hello & welcome to the µGFX-Community!

The Linux framebuffer driver is meant to directly operate on the framebuffer memory provided by the Linux kernel (if this feature is enabled). It's a device such as /dev/fb0 (or similar) that the Linux kernel provides as a framebuffer.
If you do not want to use this framebuffer but render to a different display you'll have to provide a GDISP driver for this.

As you mention SPI I assume that you have a dedicated display controller. In that case, check whether your display controller is already supported by the µGFX library. Otherwise you'll have to write your own driver.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...