<?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>Kinetis Software Development KitのトピックGetting around MISRA Errors in IAR with KSDK Projects</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Getting-around-MISRA-Errors-in-IAR-with-KSDK-Projects/m-p/346444#M312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IAR library and example projects included in Kinetis Software Development Kit (KSDK) use IAR to check for MISRA compliance.&amp;nbsp; However, some IAR licenses, like their temporary evaluation license, do not allow the MISRA checks to run.&amp;nbsp; With those licenses, IAR will generate errors when these KSDK projects are built.&amp;nbsp; This post shows how to disable the MISRA checks in IAR to allow IAR to build the projects.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a KSDK project or workspace open in IAR, use the IAR menu Project-&amp;gt;Options.&amp;nbsp; Use the screenshot below to find the MISRA-C:2004 settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21384_21384.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120237i812766BD34F17BC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="21384_21384.jpg" alt="21384_21384.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49365iC58656544DD142F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To disable the MISRA checking, first check the box to Enable MISRA-C.&amp;nbsp; Then clock the None button&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21385_21385.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120238i63A57F2F0994511B/image-size/large?v=v2&amp;amp;px=999" role="button" title="21385_21385.jpg" alt="21385_21385.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49416i9EF7ED00DDEAD405/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the MISRA rules are unselected, uncheck the box Enable MISRA-C.&amp;nbsp; Then click the OK button to save these changes to the project.&amp;nbsp; Now the project will be built without the MISRA checks.&amp;nbsp; Remember to do this for every KSDK library and example project before building.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21387_21387.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120239iB05A12A495A7AEE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="21387_21387.jpg" alt="21387_21387.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49522i2EC39A9DE7C9AE5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 20:42:31 GMT</pubDate>
    <dc:creator>dereksnell</dc:creator>
    <dc:date>2015-03-24T20:42:31Z</dc:date>
    <item>
      <title>Getting around MISRA Errors in IAR with KSDK Projects</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Getting-around-MISRA-Errors-in-IAR-with-KSDK-Projects/m-p/346444#M312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IAR library and example projects included in Kinetis Software Development Kit (KSDK) use IAR to check for MISRA compliance.&amp;nbsp; However, some IAR licenses, like their temporary evaluation license, do not allow the MISRA checks to run.&amp;nbsp; With those licenses, IAR will generate errors when these KSDK projects are built.&amp;nbsp; This post shows how to disable the MISRA checks in IAR to allow IAR to build the projects.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a KSDK project or workspace open in IAR, use the IAR menu Project-&amp;gt;Options.&amp;nbsp; Use the screenshot below to find the MISRA-C:2004 settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21384_21384.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120237i812766BD34F17BC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="21384_21384.jpg" alt="21384_21384.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49365iC58656544DD142F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To disable the MISRA checking, first check the box to Enable MISRA-C.&amp;nbsp; Then clock the None button&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21385_21385.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120238i63A57F2F0994511B/image-size/large?v=v2&amp;amp;px=999" role="button" title="21385_21385.jpg" alt="21385_21385.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49416i9EF7ED00DDEAD405/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the MISRA rules are unselected, uncheck the box Enable MISRA-C.&amp;nbsp; Then click the OK button to save these changes to the project.&amp;nbsp; Now the project will be built without the MISRA checks.&amp;nbsp; Remember to do this for every KSDK library and example project before building.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21387_21387.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120239iB05A12A495A7AEE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="21387_21387.jpg" alt="21387_21387.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49522i2EC39A9DE7C9AE5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 20:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Getting-around-MISRA-Errors-in-IAR-with-KSDK-Projects/m-p/346444#M312</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2015-03-24T20:42:31Z</dc:date>
    </item>
  </channel>
</rss>

