<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Gui-Guider Aircon samples Application built for zephyr in GUI Guider</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1834492#M884</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186731"&gt;@EdwinHz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Ah I see must of missed that. Well that's good to know thankyou for your time and great answer, very detailed!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 09:15:05 GMT</pubDate>
    <dc:creator>RafalHalik</dc:creator>
    <dc:date>2024-03-25T09:15:05Z</dc:date>
    <item>
      <title>Gui-Guider Aircon samples Application built for zephyr</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1829510#M851</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;While working with the NXP Gui Guider I've come across this strange issue where the generated code cant be built for zephyr due to an extra parameter in lv_animing_set_src. I am not sure when this had changed or if its an error with the code generator but a few weeks ago the generated code worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Gui-Guider:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;version used: GUI-Guider-1.7.0-GA&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;LVGL Version 8.3.10 selected&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;Target board (i.MX RT) MIMXRT1060_EVKB&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;Aircon Application selected to use as template&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Zephyr workspace:&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;LVGL ver: 8.3.11&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;Zephyr ver: 3.6.99&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generated C code for this template&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exported code for zephyr&amp;nbsp;&lt;/P&gt;&lt;P&gt;In File: setup_scr_ui_Aircon.c&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-15 144859.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/268724i38B63B2FD383064B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-03-15 144859.png" alt="Screenshot 2024-03-15 144859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;96 &lt;FONT color="#999999"&gt;|&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color="#FFCC00"&gt;&lt;SPAN&gt;lv_animimg_set_src&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FF00FF"&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#33CCCC"&gt;&lt;SPAN&gt;ui&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;FONT color="#33CCCC"&gt;&lt;SPAN&gt;ui_Aircon_aircon_fan&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;,&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;(&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt;&lt;/FONT&gt; &lt;SPAN&gt;**&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt; ui_Aircon_aircon_fan_imgs, &lt;/SPAN&gt;&lt;FONT color="#99CC00"&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF00FF"&gt;)&lt;/FONT&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fails due to the extra paramter passed, "false" the last paramter which isnt required in this function call.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-15 145225.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/268725i3035CE91CEB9964C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-03-15 145225.png" alt="Screenshot 2024-03-15 145225.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i remove the extra paramter from the function call it seems to work as long as i add a blank "&lt;FONT color="#3366FF"&gt;lv_font.h&lt;/FONT&gt;" file into the&amp;nbsp;&lt;FONT color="#3366FF"&gt;guider_customer_fonts&lt;/FONT&gt; directory&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-15 150030.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/268727iEC5766C0852E477E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-03-15 150030.png" alt="Screenshot 2024-03-15 150030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this a bug or am I missing something?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 15:02:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1829510#M851</guid>
      <dc:creator>RafalHalik</dc:creator>
      <dc:date>2024-03-15T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Gui-Guider Aircon samples Application built for zephyr</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1833185#M876</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231029"&gt;@RafalHalik&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;From the Animation Image API for v8.3 (&lt;A href="https://docs.lvgl.io/8.3/widgets/extra/animimg.html" target="_blank"&gt;Animation Image (lv_animimg) — LVGL documentation&lt;/A&gt;), the function "&lt;SPAN class="sig-name descname"&gt;&lt;SPAN class="n"&gt;&lt;SPAN class="pre"&gt;lv_animimg_set_src()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;" only has 3 parameters:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_0-1711049940376.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269829iFFC00091AFF71C58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_0-1711049940376.png" alt="EdwinHz_0-1711049940376.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;That said, code that GUI Guider generates adds a 4th parameter to this function as a 'reverse parameter':&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_1-1711050316152.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269830iD56E49D523122F47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_1-1711050316152.png" alt="EdwinHz_1-1711050316152.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This allows GUI Guider to control the direction of flow of the animation with a simple switch:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_3-1711050426730.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269832i766E60B56520E133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_3-1711050426730.png" alt="EdwinHz_3-1711050426730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_4-1711050442117.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269833i676A6624D28B28CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_4-1711050442117.png" alt="EdwinHz_4-1711050442117.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Ironically, this extra parameter is not meant to be a bug, but rather a feature...&lt;/P&gt;
&lt;P&gt;However, as I mentioned before, LVGL doesn't natively have this "feature". This can be proved by creating a project from scratch in MCUXpresso and adding the LVGL middleware afterwards. In other words, create an LVGL project outside of GUI Guider. Doing this resulted in a "&lt;SPAN class="sig-name descname"&gt;&lt;SPAN class="n"&gt;&lt;SPAN class="pre"&gt;lv_animimg_set_src()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;" function without the reverse feature, and followed the normal API description:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_5-1711050669138.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269834iC2F8B3EE1E568CFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_5-1711050669138.png" alt="EdwinHz_5-1711050669138.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In conclusion, the extra parameter is added by GUI Guider as a feature, but your Zephyr workspace probably already had the LVGL middleware with the "normal" 3 parameter lv_animimg_set_src() function rather than the 4 parameter one that GUI Guider generates. deleting this extra parameter is enough to have the example work, as you mention, but you could also just add the "reverse" if-else condition that GUI Guider creates for this function and this way any GUI Guider project that uses an animated image will work on your Zephyr workspace.&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 19:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1833185#M876</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-03-21T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Gui-Guider Aircon samples Application built for zephyr</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1834492#M884</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186731"&gt;@EdwinHz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Ah I see must of missed that. Well that's good to know thankyou for your time and great answer, very detailed!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Gui-Guider-Aircon-samples-Application-built-for-zephyr/m-p/1834492#M884</guid>
      <dc:creator>RafalHalik</dc:creator>
      <dc:date>2024-03-25T09:15:05Z</dc:date>
    </item>
  </channel>
</rss>

