TFT-Simulator on Visual Studio 2017 , how to change lvgl from v6.x to dev7.0?


I would like to test lvgl dev7.0 on TFT-simulator.
How to replace lvgl v6.x to any commit of dev7.0 ?

Thank you.

What MCU/Processor/Board and compiler are you using?

TFT Simulator on PC.

What do you want to achieve?

Replace lvgl 6.x to dev7.0 for any commit.

What have you tried so far?

Code to reproduce

Screenshot and/or video

Hi, i have update Simulator project on Codeblock to lvgl 7.0, changing folder src and adding all to project. Remember to rebuild all for object files.
Naturally many function are different from version 6, and you must rewrite but is a little overhead.

1 Like

You can use the branch for the Eclipse simulator and the branch for the Code::Blocks simulator.

1 Like

I have the same problem.
I tried to change 6.1.2 to dev-7, but there are a lot of errors that I can’t solve.

1 Like

Thank you very much @embeddedt.

I’m not sure if I got it.
I need the simulator v7.0 to work on Visual Studio.
Checking out the repository for VS simulator I’m getting the same v6.x code that I had already, except for an updated version of SDL2 lib.
Should I get lvgl and lv_drivers code from the Eclipse branch?

You’ll have to wait until it gets updated, or manually update the lvgl, lv_examples, and lv_drivers submodules yourself. (2.3 MB)

Attached is a Visual Studio solution I did for LVGL V7 on Visual Studio 2019,
Unzip and in the project directory (visual_studio_2017_sdl) clone the required repo’s,

git clone
git clone
git clone

Open the solution in visual studio,
Compile and run.

1 Like

lv_sim_visual_studio_sdl is now up to date with v7 of lvgl:

1 Like

I don’t know, I’m going on with cloning this rep, it apparently points to the right tag, but the downloaded sources are not the ones I expect for v7.0.
To go on, I’m manually merging the ones I get from lvgl 7.0 but it sounds like a little weird.

You may need to run git submodule update --init --recursive. Submodules in Git aren’t always updated when you pull repositories.

Thank you, now I got the latest version even though I’m pretty sure I used the option --recursive before too.