diff --git a/source/images/flutter-samples-material-3-demo.png b/source/images/flutter-samples-material-3-demo.png index f4f8d569e..98cc7e694 100644 Binary files a/source/images/flutter-samples-material-3-demo.png and b/source/images/flutter-samples-material-3-demo.png differ diff --git a/source/images/slint_energy_monitor.png b/source/images/slint_energy_monitor.png new file mode 100644 index 000000000..43d5748ae Binary files /dev/null and b/source/images/slint_energy_monitor.png differ diff --git a/source/images/slint_home_automation.png b/source/images/slint_home_automation.png index 1961b531c..2eef22eae 100644 Binary files a/source/images/slint_home_automation.png and b/source/images/slint_home_automation.png differ diff --git a/source/images/slint_opengl_underlay.png b/source/images/slint_opengl_underlay.png index 75460a7f5..6a6dcc3d0 100644 Binary files a/source/images/slint_opengl_underlay.png and b/source/images/slint_opengl_underlay.png differ diff --git a/source/images/slint_printer_demo.png b/source/images/slint_printer_demo.png index a695ac4f3..e46f9137a 100644 Binary files a/source/images/slint_printer_demo.png and b/source/images/slint_printer_demo.png differ diff --git a/source/images/slint_puzzle_demo.png b/source/images/slint_puzzle_demo.png index 12ac6936a..01485a7c3 100644 Binary files a/source/images/slint_puzzle_demo.png and b/source/images/slint_puzzle_demo.png differ diff --git a/source/linux/Demo_User_Guides/GUI_Frameworks_User_Guide.rst b/source/linux/Demo_User_Guides/GUI_Frameworks_User_Guide.rst index 43d1f91db..19316ebd3 100644 --- a/source/linux/Demo_User_Guides/GUI_Frameworks_User_Guide.rst +++ b/source/linux/Demo_User_Guides/GUI_Frameworks_User_Guide.rst @@ -41,7 +41,7 @@ can follow the process described in the following steps: git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk cd tisdk - # Replace with the appropriate file for the release + # Replace with the default oe-config file for the release # uncomment the meta-flutter layer configuration in the selected ./oe-layertool-setup.sh -f configs/processor-sdk/ cd build @@ -102,46 +102,14 @@ balance of performance and low resource usage out-of-the-box. Building with Slint =================== -This guide provides instructions on how to add the `meta-slint `__ layer -to the Yocto build system of the TI Processor SDK to build and run Slint applications. +#. Slint version 1.15 example demos are integrated by default in the :file:`tisdk-default-image`. User can download + the :file:`tisdk-default-image` wic image from |__SDK_DOWNLOAD_URL__|. -#. **Prepare your Yocto environment:** - Complete the one-time setup prerequisites listed in the |__SDK_FULL_NAME__| documentation at :ref:`building-the-sdk-with-yocto`. - -#. **Configure and build the SDK:** - The following commands will set up the necessary Slint and dependent layers and build the image. - - .. code-block:: console - - # Set up the base SDK layers - git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk - cd tisdk - - # Create a new config for Slint and add the required meta-layers - # Replace with the appropriate file for the release - cp configs/processor-sdk/ configs/slint-config.txt - echo "meta-slint,https://github.com/slint-ui/meta-slint.git,main,7406ee51c140968345b86f3927a8c67984a2dda8,layers=" >> configs/slint-config.txt - echo "meta-rust-bin,https://github.com/rust-embedded/meta-rust-bin.git,master,79c077fac9694eb5fbcee7b15e800c21e887bb5d,layers=" >> configs/slint-config.txt +#. Follow the steps in :ref:`building-the-sdk-with-yocto` to build the image from sources. + Use the default oe-config file, which includes the ``meta-slint`` layer. + See :ref:`Yocto Layer Configuration ` to find the correct oe-config file for the release. - # Set up the bitbake build environment - ./oe-layertool-setup.sh -f configs/slint-config.txt - cd build/ - - # Add the slint-demos package to the image - echo 'IMAGE_INSTALL:append = " slint-demos"' >> conf/local.conf - - # Source the environment and build the image - . conf/setenv - MACHINE= bitbake -k tisdk-default-image - - .. note:: - - See the :ref:`Yocto Layer Configuration ` guide to find the - correct :file:`` for the SDK release. Set the ```` variable - to your target device as in :ref:`Build_Options`. - -#. **Flash the SD Card:** - Once the build is complete, flash the generated image at :file:`build/deploy-ti/images//tisdk-default-image-.wic.xz` +#. Once the build is complete, flash the generated image at :file:`build/deploy-ti/images//tisdk-default-image-.wic.xz` onto a SD card. See :ref:`Flash an SD card ` for instructions. Running the Demos @@ -201,3 +169,9 @@ Here are some snapshots of the other demos running on the device. :alt: Slint Puzzle Demo Puzzle demo + +.. figure:: /images/slint_energy_monitor.png + :align: left + :alt: Slint Energy Monitor Demo + + Energy Monitor