Get Started
Source Project Download
Download on GitHub: https://github.com/realmcu/HoneyGUI
Download on Gitee: https://gitee.com/realmcu/HoneyGUI
Description
HoneyGUI is a graphics display framework independently developed by Realtek. It is an open-source embedded graphical user interface (GUI) library specifically designed for resource-constrained microcontrollers and embedded systems. HoneyGUI is lightweight, feature-rich, and highly customizable, making it widely used in consumer electronics, home appliances, medical devices, and smartwatches.
HoneyGUI provides a PC-based simulation environment, allowing developers to quickly develop and debug applications without relying on embedded hardware platforms. Furthermore, HoneyGUI can be used in conjunction with Realtek's proprietary front-end design tool, RVD, to achieve visual programming.
HoneyGUI currently primarily supports the following two efficient APP development methods:
-
C/C++ API development
Developers can directly utilize the C/C++ API based on the RealGUI display engine to construct applications.
This approach offers the highest level of flexibility and system performance control, suitable for complex applications with high performance requirements.
-
Front-end low-code development
Develop front-end applications using JavaScript and XML.
It is recommended to use
RVisualDesignerto quickly build beautiful UI interfaces through dragging and dropping components and visual configuration, enabling low-code development and significantly improving development efficiency.The low-code development approach for the front end offers advantages in rapid development and iteration, making it particularly suitable for rapid prototyping and small-scale application development.
The HoneyGUI framework has good portability, which can run on a variety of chips and OS. PC Windows version is provided.
Software Architecture
HoneyGUI Software Architecture
Installation For Windows
Install Compiler
Download the MinGW-w64 toolchain, unzip it to drive C, and add it to the system environment variable Path.
Unzip and copy to directory:
C:\mingw64Add a environment variable:
C:\mingw64\bin
Open the Start Menu and search for
Advanced system setting.Show
System Propertiesand then go to theAdvancedtab.Click on the
Environment Variablesbutton.In the
User variablessection, find and select the Path variable and clickEdit.Click
Newand addC:\mingw64\bin.Click
OKto close all dialogs.
Install Python
Python 3.9.7 is tested.
Install Scons
Open a CMD window and execute the following commands to install the Python scons library.
> pip install scons==4.4.0
Install Kconfiglib
Install kconfiglib for configuration management:
> pip install kconfiglib
Startup by CMD (Scons)
Open a CMD window in the HoneyGUI folder, and then run the following command to start the application.
> cd win32_sim
> scons
> cd ..
> .\win32_sim\gui.exe
The scons command to perform the build process and then execute gui.exe to run it.
Run Application
Startup by CMD (CMake)
Dependencies
CMake (tested with version 3.31.2): https://cmake.org/download/
MinGW-w64: As mentioned earlier
Initializing the Build Environment
In the HoneyGUI folder, execute:
> cd win32_sim
> mkdir build
> cd build
> cmake -G "MinGW Makefiles" ..
Configuring the Application
If you need to change the application configuration, refer to the previous Configure Application (Menuconfig) section and execute the menuconfig ../Kconfig.gui command in the win32_sim directory.
Compiling the Project
In the HoneyGUI\win32_sim\build folder, execute:
> cmake -G "MinGW Makefiles" ..
> mingw32-make -j 32
During compilation, CMake will automatically:
Read the configuration from the
.configfileSelect the corresponding application source code based on the configuration
Automatically process the binary resource files (
.binfiles) required by the applicationGenerate the executable file
gui.exe
Running the Program
In the HoneyGUI folder, execute:
> .\win32_sim\build\gui.exe
Startup by VSCode
Install VSCode
Open Project
Click
HoneyGUI.code-workspacefile
Run Project
You can select the Run and Debug options after entering the vscode interface, and then click the Run button.
VSCode Run Project
Display
Watch Project
The watchface is displayed in the window, and you can interact with it by swiping and clicking.
Watch Project Example
Dashboard Project
The dashboard is displayed in the window.
Dashboard Project Example

