Demo code for sample reTerminal UI application, written in C with LVGL 8.0
For more details, visit Seeed Wiki
- SDL a low level driver library to use graphics, handle mouse, keyboard etc.
Clone the PC project and the related sub modules:
git clone --recursive https://github.com/AIWintermuteAI/Seeed_reTerminal_LVGL_UI_Demo.git
sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev
The following steps can be used with CMake on a Unix-like system.
- Ensure CMake is installed, i.e. the
cmake
command works on the terminal. - Make a new directory. The name doesn't matter but
build
will be used for this tutorial. - Type
cd build
. - Type
cmake ..
. CMake will generate the appropriate build files. - Type
make -j4
or (more portable)cmake --build . --parallel
.
NOTE: --parallel
is supported from CMake v3.12 onwards. If you are using an older version of CMake, remove --parallel
from the command or use the make option.
- The binary will be in
../bin/main
, and can be run by typing that command.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request!
If you find an issue, please report it via GitHub!