<?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: use Mavlink protocol with Codewarrior IDE in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299480#M608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im having same problems trying to use a GPS Arduino based parser. &lt;/P&gt;&lt;P&gt;this is the project webpage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://arduiniana.org/libraries/tinygps/" style="font-size: 10pt; line-height: 1.5em;" title="http://arduiniana.org/libraries/tinygps/"&gt;http://arduiniana.org/libraries/tinygps/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind of strange situation, as its supposed those libraries, as mavlink, are written in standard C++ language.&amp;nbsp;&amp;nbsp; im using Codewarrior 6.3 and Codewarrior 10.6.&amp;nbsp;&amp;nbsp; same amount of errors. (100 errors average).&amp;nbsp; while checking why, found nothing.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&amp;nbsp; anyone can try to run those libraries?&amp;nbsp;&amp;nbsp;&amp;nbsp; any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 13:04:14 GMT</pubDate>
    <dc:creator>mauricio2346</dc:creator>
    <dc:date>2014-05-12T13:04:14Z</dc:date>
    <item>
      <title>use Mavlink protocol with Codewarrior IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299478#M606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; i been trying to use Mavlink headers into my project, based on MCF51JM128 microcontroller.&lt;/P&gt;&lt;P&gt;here's the webpage for this development:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fqgroundcontrol.org%2Fmavlink%2Fstart" rel="nofollow" target="_blank"&gt;http://qgroundcontrol.org/mavlink/start&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;following instructions from this page:&amp;nbsp; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fqgroundcontrol.org%2Fdev%2Fmavlink_onboard_integration_tutorial" rel="nofollow" target="_blank"&gt;http://qgroundcontrol.org/dev/mavlink_onboard_integration_tutorial&lt;/A&gt; i tried to include all necesary headers to my project.&amp;nbsp; as i couldn't add them as a folder to search into, i'd to add each header for this project, by hand.&lt;/P&gt;&lt;P&gt;this is how it looks adding all headers by hand.&amp;nbsp; any way to add them as they come in the original project, within folders?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11096_11096.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119768iE775A9080EF21C7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="11096_11096.png" alt="11096_11096.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Imagen3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43100iCC0BC4CE301C2933/image-size/large?v=v2&amp;amp;px=999" role="button" title="Imagen3.png" alt="Imagen3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;bases on examples of Mavlink, i called a function mavlink_msg_heartbeat_pack(), supposed of charging some information to a comm buffer.&lt;span class="lia-inline-image-display-wrapper" image-alt="11097_11097.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119769i2E3515FA053D33FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="11097_11097.png" alt="11097_11097.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Imagen2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42866iF699ADC9BF2279CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Imagen2.png" alt="Imagen2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; trying to call a message routine from a header, i got this error messages:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11095_11095.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119770i3AC19332F1DD004C/image-size/large?v=v2&amp;amp;px=999" role="button" title="11095_11095.png" alt="11095_11095.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Imagen1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43101i1F4FBABF3CAAC329/image-size/large?v=v2&amp;amp;px=999" role="button" title="Imagen1.png" alt="Imagen1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its well known that Mavlink works flawless with PIC and ARDUINO based systems. i would like to install this libraries as they're stateless; they doesn't depends of MCU registers or operations.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 04:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299478#M606</guid>
      <dc:creator>mauricio2346</dc:creator>
      <dc:date>2014-04-18T04:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: use Mavlink protocol with Codewarrior IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299479#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post, however please consider moving it to the right community place (e.g. &lt;A _jive_internal="true" class="jivecontainerTT-hover-container jive-link-community-small" data-containerid="1" data-containertype="14" data-objectid="2020" data-objecttype="14" href="https://community.nxp.com/community/codewarrior"&gt;CodeWarrior Development Tools&lt;/A&gt; ) to get it visible for active members.&lt;/P&gt;&lt;P&gt;For details please see general advice &lt;A _jive_internal="true" data-containerid="2001" data-containertype="14" data-objectid="99909" data-objecttype="102" href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 08:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299479#M607</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2014-04-29T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: use Mavlink protocol with Codewarrior IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299480#M608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im having same problems trying to use a GPS Arduino based parser. &lt;/P&gt;&lt;P&gt;this is the project webpage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://arduiniana.org/libraries/tinygps/" style="font-size: 10pt; line-height: 1.5em;" title="http://arduiniana.org/libraries/tinygps/"&gt;http://arduiniana.org/libraries/tinygps/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind of strange situation, as its supposed those libraries, as mavlink, are written in standard C++ language.&amp;nbsp;&amp;nbsp; im using Codewarrior 6.3 and Codewarrior 10.6.&amp;nbsp;&amp;nbsp; same amount of errors. (100 errors average).&amp;nbsp; while checking why, found nothing.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&amp;nbsp; anyone can try to run those libraries?&amp;nbsp;&amp;nbsp;&amp;nbsp; any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 13:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299480#M608</guid>
      <dc:creator>mauricio2346</dc:creator>
      <dc:date>2014-05-12T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: use Mavlink protocol with Codewarrior IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299481#M609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;bases on examples of Mavlink, i called a function mavlink_msg_heartbeat_pack()&lt;/BLOCKQUOTE&gt;&lt;P&gt;No you didn't. You wrote what the compiler thinks is a function prototype for &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;mavlink_msg_heartbeat_pack&lt;/SPAN&gt;(). Note that what you wrote on line 55 is outside the scope of any function, before you start your definition of main(). It is therefore going to be interpreted as a definition or declaration, (a function definition or function prototype). But it is not a valid definition or declaration because inside the parentheses are actual parameters (literals like 100, 200 and MAV_TYPE_QUADROTOR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first error that you got therefore says "illegal function definition", and is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In C you can't have executable code outside of a function. To fix the error, move those three lines of code into the body of a function (e.g. move them somewhere inside main()).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 21:52:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299481#M609</guid>
      <dc:creator>matthewkendall</dc:creator>
      <dc:date>2014-05-12T21:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: use Mavlink protocol with Codewarrior IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299482#M610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mauricio:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the status of your problem? Was the suggestion from Matthew helpful?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 21:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/use-Mavlink-protocol-with-Codewarrior-IDE/m-p/299482#M610</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-05-20T21:33:21Z</dc:date>
    </item>
  </channel>
</rss>

