<?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 &amp;quot;Syntax error&amp;quot; message in compiler in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531399#M2476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JohnR on Mon Aug 05 14:32:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Red Suite 5 (NXP Edition) in an dual M4/M0 LPC4350 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the following code the array, helvr10_bits, is marked "Syntax error" in the editor when the array is placed in RamAHB32 using the __DATA macro.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The phrase, cr_section_macros.h, is actually surrounded by &amp;lt;&amp;gt; but the editor here seems to remove them and the text inside them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;

#include cr_section_macros.h

#include "lpc_types.h"
#include "lpc_helvr10.h"

/* Font character bitmap data. */
//static UNS_16 helvr10_bits [] =
__DATA(RamAHB32) static UNS_16 helvr10_bits[] =
{
......................
};
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly, in another file, the same error is marked&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
//uint32_t result[2][MAX_COUNT];
__DATA(RamAHB32) uint32_t result[2][MAX_COUNT];
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The program compiles and runs fine, so I am not sure why the message shows up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this is happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:45:55 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:45:55Z</dc:date>
    <item>
      <title>"Syntax error" message in compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531399#M2476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JohnR on Mon Aug 05 14:32:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Red Suite 5 (NXP Edition) in an dual M4/M0 LPC4350 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the following code the array, helvr10_bits, is marked "Syntax error" in the editor when the array is placed in RamAHB32 using the __DATA macro.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The phrase, cr_section_macros.h, is actually surrounded by &amp;lt;&amp;gt; but the editor here seems to remove them and the text inside them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;

#include cr_section_macros.h

#include "lpc_types.h"
#include "lpc_helvr10.h"

/* Font character bitmap data. */
//static UNS_16 helvr10_bits [] =
__DATA(RamAHB32) static UNS_16 helvr10_bits[] =
{
......................
};
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly, in another file, the same error is marked&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
//uint32_t result[2][MAX_COUNT];
__DATA(RamAHB32) uint32_t result[2][MAX_COUNT];
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The program compiles and runs fine, so I am not sure why the message shows up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this is happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531399#M2476</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Syntax error" message in compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531400#M2477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Aug 06 00:38:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably just need to rebuild the index (right click on the project in the project explorer view).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that you really should be using the &lt;/SPAN&gt;&lt;STRONG&gt;__BSS&lt;/STRONG&gt;&lt;SPAN&gt; macro rather than the &lt;/SPAN&gt;&lt;STRONG&gt;__DATA&lt;/STRONG&gt;&lt;SPAN&gt; macro on the &lt;/SPAN&gt;&lt;STRONG&gt;result&lt;/STRONG&gt;&lt;SPAN&gt; array definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531400#M2477</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Syntax error" message in compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531401#M2478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JohnR on Tue Aug 06 04:09:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - that fixed it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531401#M2478</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: "Syntax error" message in compiler</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531402#M2479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JohnR on Tue Aug 06 04:18:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spoke too soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tag did get removed after recompiling but when I closed the compiler and restarted it, the tag reappeared.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not a big deal since the code compiles and runs but is irritating.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the macro as suggested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Syntax-error-quot-message-in-compiler/m-p/531402#M2479</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:45:56Z</dc:date>
    </item>
  </channel>
</rss>

