<?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: viable alternative at input 'ASSERT' in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287683#M4182</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/47334"&gt;@tbiberdorf&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;if you could post your linker file(s) here then the NXP IDE engineering team could have a look and fix the problem in linker file parser (I hope).&lt;/P&gt;&lt;P&gt;Otherwise: if you open the file with the text editor, the errors still remain in the Problems view.&lt;/P&gt;&lt;P&gt;To get them removed, go to the view and delete them:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_0-1622830445899.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146330i738B2549488889FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_0-1622830445899.png" alt="ErichS_0-1622830445899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 18:14:19 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2021-06-04T18:14:19Z</dc:date>
    <item>
      <title>viable alternative at input 'ASSERT'</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287671#M4181</link>
      <description>&lt;P&gt;I have been getting the following linker error being posted by a host of .ld files that included in my workspace but not used by my project settings and I'm not sure how to have MCUXpresso ignore them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_0-1622827127935.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146327i1DB4CC4CE9D8CD6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_0-1622827127935.png" alt="tbiberdorf_0-1622827127935.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using version v11.2.1 of MCUXpresso:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_1-1622827272560.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146328iFD4ADA8169DA7CAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_1-1622827272560.png" alt="tbiberdorf_1-1622827272560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified my project settings as per the following forum entry but this has made no effect on the ASSERT issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/How-can-we-disable-the-syntax-checking-of-linker-files/m-p/943064" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/How-can-we-disable-the-syntax-checking-of-linker-files/m-p/943064&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This does not prevent my project from building and I am still able to load and debug my project with no issues.&amp;nbsp; It's just that I don't know why MCUXpresso is indicating that they are there&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_2-1622827452434.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146329iF1E5CE73A40CC08C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_2-1622827452434.png" alt="tbiberdorf_2-1622827452434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any other suggestions to follow?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 17:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287671#M4181</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2021-06-04T17:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: viable alternative at input 'ASSERT'</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287683#M4182</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/47334"&gt;@tbiberdorf&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;if you could post your linker file(s) here then the NXP IDE engineering team could have a look and fix the problem in linker file parser (I hope).&lt;/P&gt;&lt;P&gt;Otherwise: if you open the file with the text editor, the errors still remain in the Problems view.&lt;/P&gt;&lt;P&gt;To get them removed, go to the view and delete them:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_0-1622830445899.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146330i738B2549488889FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_0-1622830445899.png" alt="ErichS_0-1622830445899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 18:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287683#M4182</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-06-04T18:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: viable alternative at input 'ASSERT'</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287705#M4183</link>
      <description>&lt;P&gt;attached is one of the linker files.&lt;/P&gt;&lt;P&gt;The interesting thing is that my project does not even use any of these .ld files, so all these error messages really confuse finding and fixing errors when they do happen.&lt;/P&gt;&lt;P&gt;The error message is associated with lines 117 and 154.&lt;/P&gt;&lt;P&gt;. = ASSERT((__data_load_start__ + SIZEOF(.data)) &amp;gt;= __FLASH_segment_start__ &amp;amp;&amp;amp; (__data_load_start__ + SIZEOF(.data)) &amp;lt;= (__FLASH_segment_end__) , "error: .data is too large to fit in FLASH memory segment");&lt;/P&gt;&lt;P&gt;. = ASSERT(__heap_end__ &amp;gt;= __SRAM_segment_start__ &amp;amp;&amp;amp; __heap_end__ &amp;lt;= (__SRAM_segment_end__) , "error: .heap is too large to fit in SRAM memory segment");&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 19:29:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287705#M4183</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2021-06-04T19:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: viable alternative at input 'ASSERT'</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287796#M4184</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/47334"&gt;@tbiberdorf&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;The interesting thing is that my project does not even use any of these .ld files,&lt;/P&gt;&lt;P&gt;The IDE parses the file when you open it, flagging errors that time. The messages are not coming from the linker but from the IDE.&lt;/P&gt;&lt;P&gt;Looking closer to your ASSERTs I think they are indeed wrong, see &lt;A href="https://sourceware.org/binutils/docs/ld/Miscellaneous-Commands.html" target="_blank"&gt;https://sourceware.org/binutils/docs/ld/Miscellaneous-Commands.html&lt;/A&gt; : you cannot use them as expressions and assign it to the current location: you need to remove the .= in front of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jun 2021 04:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/viable-alternative-at-input-ASSERT/m-p/1287796#M4184</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-06-05T04:56:22Z</dc:date>
    </item>
  </channel>
</rss>

