Rob Moore Posted February 17, 2023 Report Posted February 17, 2023 I need to make a GUI for a touch screen on an embedded project that has a SOM running on Linux. Is it possible to use the uGFX libraries to do this?
Joel Bodenmann Posted February 17, 2023 Report Posted February 17, 2023 Hello & Welcome to the µGFX community! Yes, it is possible (and very common) to do this with the µGFX library. The library has been designed to run on virtually any system/platform. Depending your system you can either use one of the "Linux" drivers (eg. X, SDL or framebuffer) or directly interface a display via GDISP (if you have a display not "integrated" into the OS).
Rob Moore Posted February 20, 2023 Author Report Posted February 20, 2023 Is there any documentation on how to get this running on our system?
Joel Bodenmann Posted February 21, 2023 Report Posted February 21, 2023 We'd need a bit more information to provide you with specific answers. In general, assuming that you have Linux running on your SOM it should be as easy as compiling an µGFX application for Linux: https://wiki.ugfx.io/index.php/Linux However, whether you can use the X, SDL or FrameBuffer driver or whether you need to use one of the other GDISP drivers depends on how your system is built (eg. how the display is connected), whether you're running a WM and so on. If you can provide more information we'll gladly point you towards the right direction.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now