<?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>MQX Software Solutions中的主题 Re: Where to change processor number for IPC ?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396974#M13316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for answer, but I'm using K60 and still don't know the preferred way of changing the processor number parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option is just as I described at the beginning: by changing&amp;nbsp; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;__DEFAULT_PROCESSOR_NUBER definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;On the other hand the IPC example (from MQX distribution) has a full definition of the MQX_init_struct in one of the example's source files. But this variable is already defined &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in mqx_init.c ?! What is happening here a&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;nd what is the preferred way ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Other members of the structure can be changed in user_config.h (MAX_MSGQS for example...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for response&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 22:09:06 GMT</pubDate>
    <dc:creator>Maciek</dc:creator>
    <dc:date>2015-11-12T22:09:06Z</dc:date>
    <item>
      <title>Where to change processor number for IPC ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396972#M13314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I see the __DEFAULT_PROCESSOR_NUBER is set to 1 in the header file for the plarform in bsp directory (for ex. in twrk60f120m.h).&lt;/P&gt;&lt;P&gt;What is the prefered way of changing the processor number in application with a few processors communicating with IPC (inter processor communication) feature of MQX ?&lt;/P&gt;&lt;P&gt;Should I change this #define in twrk60f120m.h ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why there is no way of setting this in user_config.h ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 20:35:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396972#M13314</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2015-11-10T20:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where to change processor number for IPC ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396973#M13315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maciek:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Vybrid processor, the Cortes-A5 is core 0, and the Cortex-M4 is core 1&lt;/P&gt;&lt;P&gt;K60 is not a multicore chip, so you can't find it in user_config.h&lt;/P&gt;&lt;P&gt;But for multicore chip, for example, vybrid, you can find it in the user_config.h file.&lt;/P&gt;&lt;P&gt;There is a multicore communication demo in the installation folder&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_2\mcc\examples\pingpong\.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the MultiCore Communication Library user guide in the folder.&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_2\doc\mcc\MQX_MCC_User_Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 02:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396973#M13315</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2015-11-12T02:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Where to change processor number for IPC ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396974#M13316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for answer, but I'm using K60 and still don't know the preferred way of changing the processor number parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option is just as I described at the beginning: by changing&amp;nbsp; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;__DEFAULT_PROCESSOR_NUBER definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;On the other hand the IPC example (from MQX distribution) has a full definition of the MQX_init_struct in one of the example's source files. But this variable is already defined &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in mqx_init.c ?! What is happening here a&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;nd what is the preferred way ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Other members of the structure can be changed in user_config.h (MAX_MSGQS for example...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for response&lt;/P&gt;&lt;P&gt;Maciek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 22:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396974#M13316</guid>
      <dc:creator>Maciek</dc:creator>
      <dc:date>2015-11-12T22:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where to change processor number for IPC ?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396975#M13317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maciek:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer the second option,&amp;nbsp; changing the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;__DEFAULT_PROCESSOR_NUBER definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding other members in MQX_init_struct, I think you can change it in user_config.h. These variables are from user_config.h, the default values are defined in twrk60120.h. For example&lt;/P&gt;&lt;P&gt;In twrk60f120m.h&amp;nbsp; we can see&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#ifndef BSP_DEFAULT_MAX_MSGQS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #define BSP_DEFAULT_MAX_MSGQS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (16L)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#endif&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if you add the following line in user_config.h,&lt;/P&gt;&lt;P&gt;#define &lt;EM&gt;BSP_DEFAULT_MAX_MSGQS 20&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;then this value will be overwritten and be transferred to MQX_init_struct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 08:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Where-to-change-processor-number-for-IPC/m-p/396975#M13317</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2015-11-13T08:28:31Z</dc:date>
    </item>
  </channel>
</rss>

