Skip to content

Commit a184563

Browse files
jeevantelukulaStaticRocket
authored andcommitted
feat(linux): Update GUI Frameworks guide
Since slint-demos is integrated by default in tisdk-default-image in this release, update the instructions accordingly. Also update the Slint and Flutter demo images to latest screenshots. Signed-off-by: Telukula Jeevan Kumar Sahu <j-sahu@ti.com>
1 parent 27b0d0f commit a184563

7 files changed

Lines changed: 13 additions & 39 deletions
-40.9 KB
Loading
76.3 KB
Loading
-213 KB
Loading
29.9 KB
Loading
-6.07 KB
Loading
-2.96 KB
Loading

source/linux/Demo_User_Guides/GUI_Frameworks_User_Guide.rst

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ can follow the process described in the following steps:
4141
git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
4242
cd tisdk
4343
44-
# Replace <oeconfig-file> with the appropriate file for the release
44+
# Replace <oeconfig-file> with the default oe-config file for the release
4545
# uncomment the meta-flutter layer configuration in the selected <oeconfig-file>
4646
./oe-layertool-setup.sh -f configs/processor-sdk/<oeconfig-file>
4747
cd build
@@ -102,46 +102,14 @@ balance of performance and low resource usage out-of-the-box.
102102
Building with Slint
103103
===================
104104

105-
This guide provides instructions on how to add the `meta-slint <https://layers.openembedded.org/layerindex/branch/master/layer/meta-slint/>`__ layer
106-
to the Yocto build system of the TI Processor SDK to build and run Slint applications.
105+
#. Slint version 1.15 example demos are integrated by default in the :file:`tisdk-default-image`. User can download
106+
the :file:`tisdk-default-image` wic image from |__SDK_DOWNLOAD_URL__|.
107107

108-
#. **Prepare your Yocto environment:**
109-
Complete the one-time setup prerequisites listed in the |__SDK_FULL_NAME__| documentation at :ref:`building-the-sdk-with-yocto`.
110-
111-
#. **Configure and build the SDK:**
112-
The following commands will set up the necessary Slint and dependent layers and build the image.
113-
114-
.. code-block:: console
115-
116-
# Set up the base SDK layers
117-
git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
118-
cd tisdk
119-
120-
# Create a new config for Slint and add the required meta-layers
121-
# Replace <oeconfig-file> with the appropriate file for the release
122-
cp configs/processor-sdk/<oeconfig-file> configs/slint-config.txt
123-
echo "meta-slint,https://github.com/slint-ui/meta-slint.git,main,7406ee51c140968345b86f3927a8c67984a2dda8,layers=" >> configs/slint-config.txt
124-
echo "meta-rust-bin,https://github.com/rust-embedded/meta-rust-bin.git,master,79c077fac9694eb5fbcee7b15e800c21e887bb5d,layers=" >> configs/slint-config.txt
108+
#. Follow the steps in :ref:`building-the-sdk-with-yocto` to build the image from sources.
109+
Use the default oe-config file, which includes the ``meta-slint`` layer.
110+
See :ref:`Yocto Layer Configuration <yocto-layer-configuration>` to find the correct oe-config file for the release.
125111

126-
# Set up the bitbake build environment
127-
./oe-layertool-setup.sh -f configs/slint-config.txt
128-
cd build/
129-
130-
# Add the slint-demos package to the image
131-
echo 'IMAGE_INSTALL:append = " slint-demos"' >> conf/local.conf
132-
133-
# Source the environment and build the image
134-
. conf/setenv
135-
MACHINE=<machine> bitbake -k tisdk-default-image
136-
137-
.. note::
138-
139-
See the :ref:`Yocto Layer Configuration <yocto-layer-configuration>` guide to find the
140-
correct :file:`<oeconfig-file>` for the SDK release. Set the ``<machine>`` variable
141-
to your target device as in :ref:`Build_Options`.
142-
143-
#. **Flash the SD Card:**
144-
Once the build is complete, flash the generated image at :file:`build/deploy-ti/images/<machine>/tisdk-default-image-<machine>.wic.xz`
112+
#. Once the build is complete, flash the generated image at :file:`build/deploy-ti/images/<machine>/tisdk-default-image-<machine>.wic.xz`
145113
onto a SD card. See :ref:`Flash an SD card <processor-sdk-linux-create-sd-card>` for instructions.
146114

147115
Running the Demos
@@ -201,3 +169,9 @@ Here are some snapshots of the other demos running on the device.
201169
:alt: Slint Puzzle Demo
202170

203171
Puzzle demo
172+
173+
.. figure:: /images/slint_energy_monitor.png
174+
:align: left
175+
:alt: Slint Energy Monitor Demo
176+
177+
Energy Monitor

0 commit comments

Comments
 (0)