Skip to content

feat: add SDL support#227

Open
mverch67 wants to merge 3 commits into
masterfrom
sdl-support
Open

feat: add SDL support#227
mverch67 wants to merge 3 commits into
masterfrom
sdl-support

Conversation

@mverch67

@mverch67 mverch67 commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

requires lvgl 9.4.0

Summary by CodeRabbit

  • New Features

    • Added SDL-based display support for PC and Raspberry Pi simulation, including mouse, keyboard, and scroll-wheel input.
    • Added SDL device selection through the display driver configuration.
  • Enhancements

    • Updated LVGL to version 9.5.0 with expanded rendering, widget, platform, media, and profiling options.
    • Improved display timing across supported platforms.
    • Refined visual styling, spacing, colors, and widget rendering throughout the 320×240 interface.
    • Reduced default logging verbosity to warnings.

@mverch67

mverch67 commented Dec 1, 2025

Copy link
Copy Markdown
Collaborator Author

facing this issue as well: lvgl/lvgl#9237

@arthurlutz

Copy link
Copy Markdown

does this enable iterating on the UI without flashing a device ?

@mverch67

Copy link
Copy Markdown
Collaborator Author

does this enable iterating on the UI without flashing a device ?

yes, but that can be done with native/X11, too

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c1b4c862-46f2-4655-a716-8bdfe1bc0464

📥 Commits

Reviewing files that changed from the base of the PR and between 33917d5 and d6e1a19.

📒 Files selected for processing (10)
  • include/graphics/driver/SDLDriver.h
  • include/graphics/driver/TFTDriver.h
  • include/graphics/driver/X11Driver.h
  • include/lv_conf.h
  • library.json
  • source/graphics/DeviceGUI.cpp
  • source/graphics/TFT/TFTView_320x240.cpp
  • source/graphics/driver/DisplayDriverFactory.cpp
  • source/graphics/driver/SDLDriver.cpp
  • source/graphics/driver/X11Driver.cpp
 _____________________________________________
< Preventing Skynet from becoming self-aware. >
 ---------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mverch67 mverch67 marked this pull request as ready for review July 16, 2026 20:55
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

Successfully merging this pull request may close these issues.

2 participants