- Lightweight, requiring only
3KB RAMand15KB ROMto run at minimum - Partial frame buffer support, requiring only one line of screen resolution buffer at minimum
- Bounding box + greedy algorithm based dirty rectangle algorithm
- Frame buffer controller support, direct write to frame buffer controller, zero copy
- Color depth support:
8bit,16bit,24bit,32bit - Modernized font extraction tool
SGL UI designertool, graphical drag-and-drop interface drawing with one-click code generation
| Flash Size | RAM Size |
|---|---|
| 15kB | 3KB |
SGL (Small Graphics Library) is a lightweight and fast graphics library specifically designed to provide beautiful and lightweight GUI (Graphical User Interface) for MCU-level processors.
Please refer to the docs directory for documentation.
Steps as follows:
- Ensure
maketool is installed - Install gcc compiler, (https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev0/x86_64-13.2.0-release-posix-seh-ucrt-rt_v11-rev0.7z)
- git clone https://github.com/sgl-org/sgl-port-windows.git
- cd sgl-port-windows && git submodule init
- git submodule update --remote
- cd demo && make -j8
- make run
Note: Please use git terminal or VSCode's git bash terminal to enter the above commands
Download gcc from this address (https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev0/x86_64-13.2.0-release-posix-seh-ucrt-rt_v11-rev0.7z)
Then extract to any directory and add to environment variables
git clone https://github.com/sgl-org/sgl-port-windows.git
cd sgl-port-windows && git submodule init
git submodule update --remote
cd demo && make -j8
Execute make run command to run
QQ Group: 544602724
