<?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 Using ring buffer with kinetis KEAZ128 in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-ring-buffer-with-kinetis-KEAZ128/m-p/776674#M9769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some questions when using Kinetis KEAZ128.&lt;/P&gt;&lt;P&gt;I'm try to using ring buffer between two threads: the while loop in the main and the other in mscan's rx/tx interrupt. I'm searchine google for a while and no simple way to do a lock-free data transfer.&lt;/P&gt;&lt;P&gt;so my questions are:&lt;/P&gt;&lt;P&gt;1, if there's a way to implement lock-free ring buffer.&lt;/P&gt;&lt;P&gt;2, otherwise how to disable interrupt correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there's another question when using KDS. the stack pointer is delacred in startup.c with char pointer, and declared with uint32_t in vector.c, when linked with LTO, there always a warning "warning: type of '__SP_INIT' does not match original declaration". how should i disabled or correct this warning.&lt;/P&gt;&lt;P&gt;PS: GCC 4.9.1 is used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2018 16:45:32 GMT</pubDate>
    <dc:creator>huangxiaofeng</dc:creator>
    <dc:date>2018-04-27T16:45:32Z</dc:date>
    <item>
      <title>Using ring buffer with kinetis KEAZ128</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-ring-buffer-with-kinetis-KEAZ128/m-p/776674#M9769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some questions when using Kinetis KEAZ128.&lt;/P&gt;&lt;P&gt;I'm try to using ring buffer between two threads: the while loop in the main and the other in mscan's rx/tx interrupt. I'm searchine google for a while and no simple way to do a lock-free data transfer.&lt;/P&gt;&lt;P&gt;so my questions are:&lt;/P&gt;&lt;P&gt;1, if there's a way to implement lock-free ring buffer.&lt;/P&gt;&lt;P&gt;2, otherwise how to disable interrupt correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there's another question when using KDS. the stack pointer is delacred in startup.c with char pointer, and declared with uint32_t in vector.c, when linked with LTO, there always a warning "warning: type of '__SP_INIT' does not match original declaration". how should i disabled or correct this warning.&lt;/P&gt;&lt;P&gt;PS: GCC 4.9.1 is used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 16:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Using-ring-buffer-with-kinetis-KEAZ128/m-p/776674#M9769</guid>
      <dc:creator>huangxiaofeng</dc:creator>
      <dc:date>2018-04-27T16:45:32Z</dc:date>
    </item>
  </channel>
</rss>

