<?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: K64 + KSDK2.0 + IRQn_Type in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466546#M3622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manfred, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks as though you've identified a use case that wasn't considered when we originally architected the drivers. The reason you're seeing these interrupt arrays as static is due to their use inside of the driver to provide interrupt functionality out of the box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to easily expose these arrays to other pieces of your code with slight modifications to the driver c and h files. We'll discuss this change in future releases of the SDK. Thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 14:43:13 GMT</pubDate>
    <dc:creator>Jmart</dc:creator>
    <dc:date>2016-02-17T14:43:13Z</dc:date>
    <item>
      <title>K64 + KSDK2.0 + IRQn_Type</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466545#M3621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we use K64 + KSDK2.0 + FreeRTOS with IAR Workbench.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why are some of the Arrays with type "IRQn_Type" in different modules of KSDK2.0 defined as "static"?&lt;/P&gt;&lt;P&gt;So they are module-local. I have to define the same array in my code again...&lt;/P&gt;&lt;P&gt;In combination with Free-RTOS I need to set an appropriate IRQ-Level to each IRQ.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the IRQ-Arrays of every hardware-module should be defined as "const" not be defined as "static const".&lt;/P&gt;&lt;P&gt;example&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl_sai.c:&lt;/P&gt;&lt;P&gt;static const IRQn_Type s_saiTxIRQ[] = I2S_TX_IRQS;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;const IRQn_Type s_saiTxIRQ[] = I2S_TX_IRQS;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Review your code according to this.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 12:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466545#M3621</guid>
      <dc:creator>manfredschnell</dc:creator>
      <dc:date>2016-02-17T12:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: K64 + KSDK2.0 + IRQn_Type</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466546#M3622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manfred, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks as though you've identified a use case that wasn't considered when we originally architected the drivers. The reason you're seeing these interrupt arrays as static is due to their use inside of the driver to provide interrupt functionality out of the box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to easily expose these arrays to other pieces of your code with slight modifications to the driver c and h files. We'll discuss this change in future releases of the SDK. Thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466546#M3622</guid>
      <dc:creator>Jmart</dc:creator>
      <dc:date>2016-02-17T14:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: K64 + KSDK2.0 + IRQn_Type</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466547#M3623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;that's true, I can easily expose these arrays to my source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it would be nice, to have this "IRQn_Type" defined by KSDK2.x for every hardware module.&lt;/P&gt;&lt;P&gt;Every user of FreeRTOS has to do this workaround in his Project. --&amp;gt; so it should be done one time in the right place. --&amp;gt; more happy users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466547#M3623</guid>
      <dc:creator>manfredschnell</dc:creator>
      <dc:date>2016-02-17T15:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: K64 + KSDK2.0 + IRQn_Type</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466548#M3624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I'm working with KSDK2.4.2.&lt;/P&gt;&lt;P&gt;Every "IRQn_Type" - Array is "static const" --&amp;gt; module local.&lt;/P&gt;&lt;P&gt;What a pitty. It seems, the decision was to keep this arrays module local.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use any of these functions, I have to define the "IRQn_Type"-array in my code a second time in addition to KSDK-lib Definition...&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;InstallIRQHandler(IRQn_Type...&lt;/P&gt;&lt;P&gt;EnableDeepSleepIRQ(IRQn_Type...&lt;/P&gt;&lt;P&gt;DisableDeepSleepIRQ(IRQn_Type...&lt;/P&gt;&lt;P&gt;NVIC_SetPriority(IRQn_Type...&lt;/P&gt;&lt;P&gt;NVIC_GetPriority(IRQn_Type&lt;/P&gt;&lt;P&gt;... and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes... I can edit the driver .c and .h files --&amp;gt; but this is annoying to do&amp;nbsp;in every version of KSDK...&lt;/P&gt;&lt;P&gt;Can you please discuss this topic again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 14:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-KSDK2-0-IRQn-Type/m-p/466548#M3624</guid>
      <dc:creator>manfredschnell</dc:creator>
      <dc:date>2018-11-19T14:41:01Z</dc:date>
    </item>
  </channel>
</rss>

