<?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: TWR-K70 + MQX + eGUI with external bitmaps in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278446#M8666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;if you switch on external bitmap support, you also have to define the eGUI API to file system, like this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D4D_DECLARE_FILE_FUNCTIONS(My_FileOpen, My_FileClose, My_FileRead, My_FileWrite, My_FileFseek, My_FileFtell)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the functions My_FileOpen... must exists in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the examples what I put on : &lt;A _jive_internal="true" href="https://community.nxp.com/message/323071#323071"&gt;https://community.freescale.com/message/323071#323071&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2013 04:13:55 GMT</pubDate>
    <dc:creator>Gargy</dc:creator>
    <dc:date>2013-06-07T04:13:55Z</dc:date>
    <item>
      <title>TWR-K70 + MQX + eGUI with external bitmaps</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278445#M8665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to load bitmaps from an external location (usb device) with eGui (D4D) v3 beta on TWR-K70.&lt;/P&gt;&lt;P&gt;When I enable the external file support with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13705135700325183" jivemacro_uid="_13705135700325183" modifiedtitle="true"&gt;
&lt;P&gt;#define D4D_EXTSRC_FILE_ENABLE&amp;nbsp; D4D_TRUE&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get errors when I try to compile the project which tell me that d4d_extsrcFile (which is defined in d4d_extsrc.h) is undeclared in d4d_bmp.c and d4d_font.c.&lt;/P&gt;&lt;P&gt;There is a&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13705138291888022" jivemacro_uid="_13705138291888022"&gt;
&lt;P&gt;extern const D4DFILE_FUNCTIONS d4d_extsrcFile;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;in d4d_extsrc.h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have an idea what might be wrong?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 10:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278445#M8665</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-06-06T10:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 + MQX + eGUI with external bitmaps</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278446#M8666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;if you switch on external bitmap support, you also have to define the eGUI API to file system, like this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D4D_DECLARE_FILE_FUNCTIONS(My_FileOpen, My_FileClose, My_FileRead, My_FileWrite, My_FileFseek, My_FileFtell)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the functions My_FileOpen... must exists in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the examples what I put on : &lt;A _jive_internal="true" href="https://community.nxp.com/message/323071#323071"&gt;https://community.freescale.com/message/323071#323071&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 04:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278446#M8666</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-06-07T04:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 + MQX + eGUI with external bitmaps</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278447#M8667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Petr!&lt;/P&gt;&lt;P&gt;I added the file functions and it know compiles without errors.&lt;/P&gt;&lt;P&gt;Still I can't see the bitmap on my screen. I added a bmp file with 8bit color to my USB stick root directory and made sure that the LCD screen is loaded after the usb initialization. Reading from the stick in general works fine.&lt;/P&gt;&lt;P&gt;I declared the bitmap with&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13705907846118728" jivemacro_uid="_13705907846118728"&gt;
&lt;P&gt;D4D_DECLARE_BMPFILE(bmp_as, "AS.BMP")&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;and put it in a picture object with&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13705908545282180" jivemacro_uid="_13705908545282180"&gt;
&lt;P&gt;D4D_DECLARE_STD_PICTURE(ds_logo_as, 130, 100, &amp;amp;bmp_as)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;and finally added it to the screen&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_13705908920968548 jive_text_macro jive_macro_code" jivemacro_uid="_13705908920968548"&gt;
&lt;P&gt;D4D_DECLARE_SCREEN_OBJECT(ds_logo_as)&amp;nbsp; &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is missing?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 07:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278447#M8667</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-06-07T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70 + MQX + eGUI with external bitmaps</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278448#M8668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recompiled the project once more and know it works!&lt;/P&gt;&lt;P&gt;Don't know what was wrong.&lt;/P&gt;&lt;P&gt;Thank you again Petr!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 08:24:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TWR-K70-MQX-eGUI-with-external-bitmaps/m-p/278448#M8668</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-06-07T08:24:39Z</dc:date>
    </item>
  </channel>
</rss>

