Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LVGL & Headless Mode #533

Open
ellisgl opened this issue Jan 14, 2025 · 1 comment
Open

LVGL & Headless Mode #533

ellisgl opened this issue Jan 14, 2025 · 1 comment

Comments

@ellisgl
Copy link

ellisgl commented Jan 14, 2025

Looks like screen.h won't define GetFrameBuffer() when in headless mode, so LVGL won't build. If you use a RPi 4 and only want to use some sort of SPI / I2C display, then it's a no go, unless you modify the header file.

@rsta2
Copy link
Owner

rsta2 commented Jan 14, 2025

You shouldn't define SCREEN_HEADLESS for that purpose and simply not include the class CScreenDevice in your project. Circle Step48 is not prepared for LVGL use with SPI / I2C displays. This will change with the next release and is already implemented on the develop branch. Unfortunately the docs have not been updated yet, but here are some notes on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants