<?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: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503292#M6366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;I open your project with KDS3.0, I think I can see the same problem as you mentioned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26225iD5AA08FEC48FFB4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that I didn't see the code in read rectangle in a function. if i add a function name for instance gpio_init() ahead of this code, the syntax error is gone. see below i highlighted:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26172i2FC6942036DC7534/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does this answers your question?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Mark Correct button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 07:25:18 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2016-03-29T07:25:18Z</dc:date>
    <item>
      <title>When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503287#M6361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;There is syntax error in each line. How to resolve it ? The controller which I work on is MKE02Z64VLD2 and the IDE which I use is Kinetis Design Studio.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(void)BitIoLdd1_Init(NULL); /* initialize the port pin PTB1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* enable internal pull-up on PTB1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_PDD_SetPinPullSelect(PORTB_BASE_PTR, 1, PORT_PDD_PULL_UP);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_PDD_SetPinPullEnable(PORTB_BASE_PTR, 1, PORT_PDD_PULL_ENABLE);&lt;/P&gt;&lt;P&gt;&amp;nbsp; WAIT1_Waitms(5); /* wait get pull-up a chance to pull-up */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (!BL_SW_GetVal()) { /* button pressed (has pull-up!) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WAIT1_Waitms(50); /* wait to debounce */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!BL_SW_GetVal()) { /* still pressed */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return TRUE; /* go into bootloader mode */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* BTLD switch not pressed, and we have a valid user application vector */&lt;/P&gt;&lt;P&gt;&amp;nbsp; return FALSE; /* do not enter bootloader mode */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 08:27:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503287#M6361</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-03-24T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503288#M6362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to check the problem efficiently, can you please provide:&lt;/P&gt;&lt;P&gt;1 your KDS version&lt;/P&gt;&lt;P&gt;2. post your demo project in zip here, thus we can look the problem directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 10:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503288#M6362</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-03-24T10:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503289#M6363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kinetis Design Studio Version: 2.0.0&lt;/P&gt;&lt;P&gt;Eclipse Version: Kepler (4.3.2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 03:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503289#M6363</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-03-25T03:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503290#M6364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please click on the Action button, Edit&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3014iE2B304D6370EB56F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will see the Attach button is on bottom right of the Text Frame.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26339iED27AD13C0DAEB2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 05:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503290#M6364</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-03-25T05:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503291#M6365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Zhang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you find out the problem ? &lt;BR /&gt;I did attach the zip file of my code as per you instruction last friday. In case you didn't notice, kindly scroll up and peruse my previous comment. Thanks for helping. &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh R&lt;/P&gt;&lt;P&gt;(I have attached in this comment once again )&lt;/P&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Kinetis Design Studio Version: 2.0.0&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Eclipse Version: Kepler (4.3.2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 04:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503291#M6365</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-03-29T04:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503292#M6366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;I open your project with KDS3.0, I think I can see the same problem as you mentioned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26225iD5AA08FEC48FFB4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that I didn't see the code in read rectangle in a function. if i add a function name for instance gpio_init() ahead of this code, the syntax error is gone. see below i highlighted:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26172i2FC6942036DC7534/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does this answers your question?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Mark Correct button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 07:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503292#M6366</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-03-29T07:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: When I type these codes in Kinetis Design Studio, I am getting Syntax error. Can anyone debug the errors ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503293#M6367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Zhang. This completely will solve my problem :smileyhappy: . Will reach you if I get stuck when I progress through. Thanks again.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/When-I-type-these-codes-in-Kinetis-Design-Studio-I-am-getting/m-p/503293#M6367</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-03-29T08:11:26Z</dc:date>
    </item>
  </channel>
</rss>

