<?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: Code generation Assembler error  &amp;quot;No rule to make target&amp;quot; when using model reference in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generation-Assembler-error-quot-No-rule-to-make-target-quot/m-p/847849#M2717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yujiangwu"&gt;yujiangwu&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't reproduce your error for the subsystem approach, but I am currently using CW v11.0; I will get the 10.7 version (the one that I see you are using) and try and figure what is happening. In the meanwhile, could you try with v11.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Assembler details : "C:\Freescale\CW MCU v11.0/MCU/PA_Tools/Command_Line_Tools/mwasmeppc" -vle -DVLE_IS_ON -proc Zen -list -gccincludes -nostdinc -c &lt;BR /&gt;Building assembly file crt0.o...&lt;BR /&gt;Building assembly file sw_handlers.o...&lt;BR /&gt;Building assembly file excep_handler.o...&lt;BR /&gt;Building file modelsubsystem.o...&lt;BR /&gt;Building file intc_init.o...&lt;BR /&gt;Building file intc_sw_vectable.o...&lt;BR /&gt;Building file rappid_main.o...&lt;BR /&gt;Building file rappid_utils.o...&lt;BR /&gt;Building file romcopy.o...&lt;BR /&gt;Building file siu_init.o...&lt;BR /&gt;Building file sys_init.o...&lt;BR /&gt;Building file sysclk_init.o...&lt;BR /&gt;==== Creating modelsubsystem.out from obj files ==== &lt;BR /&gt;"C:\Freescale\CW MCU v11.0/MCU/PA_Tools/Command_Line_Tools/mwldeppc" crt0.o sw_handlers.o excep_handler.o modelsubsystem.o intc_init.o intc_sw_vectable.o rappid_main.o rappid_utils.o romcopy.o siu_init.o sys_init.o sysclk_init.o -o modelsubsystem.elf -gdwarf-2 -fp spfp_only -char unsigned -proc Zen -m _start -nostdlib -srec -lcf MPC564xLFlash.lcf -romaddr 0x00003000 -rambuffer 0x00003000 "MCLIB_MPC564xL.PPCEABI.V.UC.a" "C:\Freescale\CW MCU v11.0/MCU/PA_Support/ewl/lib/libc_E200z446_VLE_SPFP_Only.a" "C:\Freescale\CW MCU v11.0/MCU/PA_Support/ewl/lib/librt_E200z446_VLE_SPFP_Only.a" -Map modelsubsystem.map&lt;BR /&gt;Created executable: modelsubsystem.elf&lt;BR /&gt;Building target all&lt;BR /&gt;*** Created executable: modelsubsystem.elf&lt;BR /&gt;### Successful completion of build procedure for model: modelsubsystem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2018 08:08:26 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2018-12-13T08:08:26Z</dc:date>
    <item>
      <title>Code generation Assembler error  "No rule to make target" when using model reference</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generation-Assembler-error-quot-No-rule-to-make-target-quot/m-p/847848#M2716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to be able to generate code from model reference instead of subsystem approach.&lt;/P&gt;&lt;P&gt;When I try to do that, I encountered the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;Assembler details : "C:\Freescale\”CW MCU v10.7“/MCU/PA_Tools/Command_Line_Tools/mwasmeppc" -vle -DVLE_IS_ON -proc Zen -list -gccincludes -nostdinc -c gmake: *** No rule to make target `crt0.s', needed by `crt0.o'. Stop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;I have attached all the models and the log including&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;Model Reference Approach&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;model.slx - the child&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;modelReference.slx&amp;nbsp;- the parent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;modelReferenceInit.m - A script you can run to generate bus object and simulink&amp;nbsp;signals&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;modelReference_20181207_113711.txt - Log file from diagnostic viewer&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;Subsystem Approach&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;modelsubsystem&amp;nbsp;- the subsystem approach&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;modelsubsystem_build_20181207_114239.txt-Log file from&amp;nbsp;diagnostic&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;viewer&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;The code generation seems completed in both cases. But different error got reported as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;Model Reference&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63583i1D00A9220BF33B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;Subsystem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63543i18CA7B471C32CF53/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;The subsystem version did give me a code generation report, which is acceptable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;The modelReference probably gave up earlier so that I didn't get a code generation report&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;Does anyone have clue how to fix this? I did research on the internet and it didn't help that much. Thank you for the help in advance.I am using matlab 2018a by the way.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 19:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generation-Assembler-error-quot-No-rule-to-make-target-quot/m-p/847848#M2716</guid>
      <dc:creator>yujiangwu</dc:creator>
      <dc:date>2018-12-07T19:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Code generation Assembler error  "No rule to make target" when using model reference</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generation-Assembler-error-quot-No-rule-to-make-target-quot/m-p/847849#M2717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yujiangwu"&gt;yujiangwu&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't reproduce your error for the subsystem approach, but I am currently using CW v11.0; I will get the 10.7 version (the one that I see you are using) and try and figure what is happening. In the meanwhile, could you try with v11.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Assembler details : "C:\Freescale\CW MCU v11.0/MCU/PA_Tools/Command_Line_Tools/mwasmeppc" -vle -DVLE_IS_ON -proc Zen -list -gccincludes -nostdinc -c &lt;BR /&gt;Building assembly file crt0.o...&lt;BR /&gt;Building assembly file sw_handlers.o...&lt;BR /&gt;Building assembly file excep_handler.o...&lt;BR /&gt;Building file modelsubsystem.o...&lt;BR /&gt;Building file intc_init.o...&lt;BR /&gt;Building file intc_sw_vectable.o...&lt;BR /&gt;Building file rappid_main.o...&lt;BR /&gt;Building file rappid_utils.o...&lt;BR /&gt;Building file romcopy.o...&lt;BR /&gt;Building file siu_init.o...&lt;BR /&gt;Building file sys_init.o...&lt;BR /&gt;Building file sysclk_init.o...&lt;BR /&gt;==== Creating modelsubsystem.out from obj files ==== &lt;BR /&gt;"C:\Freescale\CW MCU v11.0/MCU/PA_Tools/Command_Line_Tools/mwldeppc" crt0.o sw_handlers.o excep_handler.o modelsubsystem.o intc_init.o intc_sw_vectable.o rappid_main.o rappid_utils.o romcopy.o siu_init.o sys_init.o sysclk_init.o -o modelsubsystem.elf -gdwarf-2 -fp spfp_only -char unsigned -proc Zen -m _start -nostdlib -srec -lcf MPC564xLFlash.lcf -romaddr 0x00003000 -rambuffer 0x00003000 "MCLIB_MPC564xL.PPCEABI.V.UC.a" "C:\Freescale\CW MCU v11.0/MCU/PA_Support/ewl/lib/libc_E200z446_VLE_SPFP_Only.a" "C:\Freescale\CW MCU v11.0/MCU/PA_Support/ewl/lib/librt_E200z446_VLE_SPFP_Only.a" -Map modelsubsystem.map&lt;BR /&gt;Created executable: modelsubsystem.elf&lt;BR /&gt;Building target all&lt;BR /&gt;*** Created executable: modelsubsystem.elf&lt;BR /&gt;### Successful completion of build procedure for model: modelsubsystem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 08:08:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generation-Assembler-error-quot-No-rule-to-make-target-quot/m-p/847849#M2717</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-12-13T08:08:26Z</dc:date>
    </item>
  </channel>
</rss>

