<?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>LPC MicrocontrollersのトピックRe: multiple definition of `main' - multicore application</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/multiple-definition-of-main-multicore-application/m-p/1701546#M53796</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, wojciech_pl_pl&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have reviewed the question you raised and tested it on the LPCXpresso LPC4337 evaluation board and using lpcopen_3_02_lpcxpresso_xpresso4337.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can't repeat the programming problems you reported, so all I can do is offer some advice.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Which-IDE-to-be-used-for-debugging-LPC4367/m-p/871786" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/Which-IDE-to-be-used-for-debugging-LPC4367/m-p/871786&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;lpcopen_3_02_lpcxpresso_xpresso4337 Download link&lt;/SPAN&gt;：&lt;SPAN&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc43xx:LPCOPEN-SOFTWARE-FOR-LPC43XX" target="_blank"&gt;https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc43xx:LPCOPEN-SOFTWARE-FOR-LPC43XX&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xu Zhang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 05:36:23 GMT</pubDate>
    <dc:creator>Xu_Zhang</dc:creator>
    <dc:date>2023-08-09T05:36:23Z</dc:date>
    <item>
      <title>multiple definition of `main' - multicore application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/multiple-definition-of-main-multicore-application/m-p/1699584#M53727</link>
      <description>&lt;P&gt;Hi! I am getting started with multicore applications i using LPCXpresso4367. I found with MCUexpresso two examples - one is software for main M4 core, second is application for slave M0 core. I configured its according to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/lpc/34158/3/LPC43xx%20Cortex-M4%20_%20M0%20Multicore%20Applications%20_%20NXP%20Community.pdf" target="_blank" rel="noopener"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/lpc/34158/3/LPC43xx%20Cortex-M4%20_%20M0%20Multicore%20Applications%20_%20NXP%20Community.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but it not working - there is error " multiple definition of `main'" during build of main core project (multicore_mc_sa_blinky_m4) . Threre are two projects, so it must be two main functions. I tried to change name of main using pragma, no result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Projects i found here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wojciech_pl_pl_0-1691184375666.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235194i6B7991D44BAC15E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wojciech_pl_pl_0-1691184375666.png" alt="wojciech_pl_pl_0-1691184375666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Names of that projects are :&lt;/P&gt;&lt;P&gt;multicore_mc_sa_blinky_m0app&lt;/P&gt;&lt;P&gt;multicore_mc_sa_blinky_m4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My changes in propertis of [multicore_mc_sa_blinky_m4][ C/C++ Build][Setting][MCU Linker] - :&lt;/P&gt;&lt;P&gt;i selected M0APP as slave,&lt;/P&gt;&lt;P&gt;choosed Flash memory, and&lt;/P&gt;&lt;P&gt;selected file .o of slave application -blinky_m0.o&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I missed something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 21:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/multiple-definition-of-main-multicore-application/m-p/1699584#M53727</guid>
      <dc:creator>wojciech_pl_pl</dc:creator>
      <dc:date>2023-08-04T21:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: multiple definition of `main' - multicore application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/multiple-definition-of-main-multicore-application/m-p/1701546#M53796</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, wojciech_pl_pl&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have reviewed the question you raised and tested it on the LPCXpresso LPC4337 evaluation board and using lpcopen_3_02_lpcxpresso_xpresso4337.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can't repeat the programming problems you reported, so all I can do is offer some advice.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Which-IDE-to-be-used-for-debugging-LPC4367/m-p/871786" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/Which-IDE-to-be-used-for-debugging-LPC4367/m-p/871786&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;lpcopen_3_02_lpcxpresso_xpresso4337 Download link&lt;/SPAN&gt;：&lt;SPAN&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc43xx:LPCOPEN-SOFTWARE-FOR-LPC43XX" target="_blank"&gt;https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc43xx:LPCOPEN-SOFTWARE-FOR-LPC43XX&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xu Zhang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 05:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/multiple-definition-of-main-multicore-application/m-p/1701546#M53796</guid>
      <dc:creator>Xu_Zhang</dc:creator>
      <dc:date>2023-08-09T05:36:23Z</dc:date>
    </item>
  </channel>
</rss>

