<?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: how to add printf with console s32k144 in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1855973#M12215</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can use the example you posted. This example was designed for an older SDK, which can be flashed in S32DS.2018.R1 or you can create a new project (selecting GCC 6.3 compiler and EWL library) and copy over the configuration from the original post:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1714166809841.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276232i47B1F010735DF45B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1714166809841.png" alt="Julin_AragnM_0-1714166809841.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_0-1714166809841.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've shared the ported project for S32DS3.5 RTD3.0.0.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 21:27:33 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2024-04-26T21:27:33Z</dc:date>
    <item>
      <title>how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851491#M12180</link>
      <description>&lt;P&gt;i use gcc 10.2, don't have ewl_c9x, how i can enable printf with uart port&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1713775746610.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/274978iEECB46004ABD6624/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1713775746610.png" alt="alice_thanks_0-1713775746610.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1713775746610.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_2-1713776071743.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/274980i77DA29E7B87FC463/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_2-1713776071743.jpeg" alt="alice_thanks_2-1713776071743.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_2-1713776071743.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i see there is link:&lt;/P&gt;&lt;P&gt;use below configure,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_1-1713776024739.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/274979i34B6BC4B246534FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_1-1713776024739.png" alt="alice_thanks_1-1713776024739.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_1-1713776024739.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/Example-S32K-printf-implementation-S32DS-1-0/ta-p/1119575" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/Example-S32K-printf-implementation-S32DS-1-0/ta-p/1119575&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 08:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851491#M12180</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2024-04-22T08:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851912#M12184</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can use NewLib/NewLib Nano with Debugger Console I/O support with GCC 10.2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1713827251633.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275090iDF9626AF3BAE176A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1713827251633.png" alt="Julin_AragnM_0-1713827251633.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_0-1713827251633.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_1-1713827256692.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275091iE55A0A8238AEBFA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_1-1713827256692.png" alt="Julin_AragnM_1-1713827256692.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_1-1713827256692.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or downgrade the toolchain version (6.3) and use EWL:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_3-1713827270797.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275093i6A4A761F49E98D7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_3-1713827270797.png" alt="Julin_AragnM_3-1713827270797.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_3-1713827270797.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_5-1713827322488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275095i02CEA73DB08668F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_5-1713827322488.png" alt="Julin_AragnM_5-1713827322488.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_5-1713827322488.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 23:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851912#M12184</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-04-22T23:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851979#M12185</link>
      <description>&lt;P&gt;how to modify it when the project already created ?&lt;/P&gt;&lt;P&gt;BTW, if use GCC 10.2, we need still add uart driver code ?&lt;/P&gt;&lt;P&gt;like below code ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;but there is error , fatal error: ewl_misra_types.h: No such file or directory&lt;/P&gt;&lt;DIV&gt;#include &amp;lt;string.h&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;#include &amp;lt;stdint.h&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;#include &amp;lt;stdbool.h&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;#include "ewl_misra_types.h"&lt;/DIV&gt;&lt;DIV&gt;#include "file_struc.h"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;int_t __write_console(__file_handle handle, uchar_t * buffer, size_t * count)&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(void)(handle);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; uint32_t bytesRemain;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; size_t bytes=*count;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; LPUART_DRV_SendData(INST_LPUART1, buffer, bytes);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; while(LPUART_DRV_GetTransmitStatus(INST_LPUART1, &amp;amp;bytesRemain) != STATUS_SUCCESS);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Apr 2024 02:11:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851979#M12185</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2024-04-23T02:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851988#M12186</link>
      <description>&lt;P&gt;if switch the gcc tool, then rebuild project, always have these error, what is the problem ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1713839094163.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275108iA1436209709086B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1713839094163.png" alt="alice_thanks_0-1713839094163.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1713839094163.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Building target: lpi2c_master_s32k144.elf&lt;BR /&gt;Invoking: Standard S32DS C Linker&lt;BR /&gt;arm-none-eabi-gcc -o "lpi2c_master_s32k144.elf" "@lpi2c_master_s32k144.args"&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./board/clock_config.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./board/clock_config.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./board/peripherals_edma_config_1.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./board/peripherals_edma_config_1.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./board/peripherals_lpi2c_config_1.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./board/peripherals_lpi2c_config_1.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./board/peripherals_lpuart_1.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./board/peripherals_lpuart_1.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./board/peripherals_osif_1.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./board/peripherals_osif_1.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./board/pin_mux.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./board/pin_mux.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./src/SFH5721.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./src/SFH5721.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./src/console.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./src/console.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: error: lpi2c_master_s32k144.elf uses VFP register arguments, ./src/main.o does not&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./src/main.o&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./SDK/platform/drivers/src/interrupt/interrupt_manager.o: in function `INT_SYS_InstallHandler':&lt;BR /&gt;C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__VECTOR_RAM'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__VECTOR_TABLE'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__DATA_ROM'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__DATA_END'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:46: lpi2c_master_s32k144.elf] Error 1&lt;BR /&gt;"make -j8 all" terminated with exit code 2. Build might be incomplete.&lt;/P&gt;&lt;P&gt;10:22:32 Build Failed. 5 errors, 0 warnings. (took 19s.142ms)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then i switch back to gcc 6.3, then still have these error(),&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Building target: lpi2c_master_s32k144.elf&lt;BR /&gt;Invoking: Standard S32DS C Linker&lt;BR /&gt;arm-none-eabi-gcc -o "lpi2c_master_s32k144.elf" "@lpi2c_master_s32k144.args"&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_b1620/arm32_ewl2/lib/thumb/v7e-m/fpv4-sp/hard/__arm_start.o: in function `__thumb_startup':&lt;BR /&gt;arm32_ewl2/EWL_Runtime/src/arm/__arm_start.c:282: undefined reference to `__START_BSS'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: arm32_ewl2/EWL_Runtime/src/arm/__arm_start.c:282: undefined reference to `__END_BSS'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: ./SDK/platform/drivers/src/interrupt/interrupt_manager.o: in function `INT_SYS_InstallHandler':&lt;BR /&gt;C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__VECTOR_RAM'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__VECTOR_TABLE'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__DATA_ROM'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__DATA_END'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_b1620/arm32_ewl2/lib/thumb/v7e-m/fpv4-sp/hard\librt.a(__arm_eabi_init.o): in function `__init_registers':&lt;BR /&gt;arm32_ewl2/EWL_Runtime/src/arm/__arm_eabi_init.c:102: undefined reference to `__SP_INIT'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:43: lpi2c_master_s32k144.elf] Error 1&lt;BR /&gt;"make -j8 all" terminated with exit code 2. Build might be incomplete.&lt;/P&gt;&lt;P&gt;10:27:00 Build Failed. 8 errors, 0 warnings. (took 26s.737ms)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i use this example to test, lpi2c_master_s32k144&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 02:30:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1851988#M12186</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2024-04-23T02:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852044#M12187</link>
      <description>&lt;P&gt;&lt;STRONG&gt;if switch gcc , there will some error below, could you help to check&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Building target: lpi2c_master_s32k144.elf&lt;BR /&gt;Invoking: Standard S32DS C Linker&lt;BR /&gt;arm-none-eabi-gcc -o "lpi2c_master_s32k144.elf" "@lpi2c_master_s32k144.args"&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./SDK/platform/drivers/src/interrupt/interrupt_manager.o: in function `INT_SYS_InstallHandler':&lt;BR /&gt;C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__VECTOR_RAM'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__VECTOR_TABLE'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__DATA_ROM'&lt;BR /&gt;c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/platform/drivers/src/interrupt/interrupt_manager.c:175: undefined reference to `__DATA_END'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:46: lpi2c_master_s32k144.elf] Error 1&lt;BR /&gt;"make -j8 all" terminated with exit code 2. Build might be incomplete.&lt;/P&gt;&lt;P&gt;11:19:43 Build Failed. 5 errors, 0 warnings. (took 28s.674ms)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 03:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852044#M12187</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2024-04-23T03:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852660#M12194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;No, that driver is for EWL console support.&lt;/P&gt;
&lt;P&gt;I believe some changes are needed if you want to change an existing project's toolchain, such as the included paths in project settings, but I would suggest creating an application project and porting the application code to the new project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1713887413728.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275322i2248F91ADBC4A2B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1713887413728.png" alt="Julin_AragnM_0-1713887413728.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_0-1713887413728.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_1-1713887529618.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275323iA6D7E2F0A9B9A495/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_1-1713887529618.png" alt="Julin_AragnM_1-1713887529618.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_1-1713887529618.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 16:00:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852660#M12194</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-04-23T16:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852902#M12196</link>
      <description>&lt;P&gt;if still use gcc 10.2, do you steps&amp;nbsp;to add printf with console, is it only need configure,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1713924091038.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275391i8EC957BDAEEBFEF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1713924091038.png" alt="alice_thanks_0-1713924091038.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1713924091038.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;is there any other code we need add ? can you show the full steps with gcc 10.2 console printf ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 02:02:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852902#M12196</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2024-04-24T02:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852910#M12197</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can refer to the following post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/how-to-use-the-printf-function-in-S32DS-3-5/td-p/1721867" target="_blank"&gt;Solved: how to use the printf function in S32DS.3.5 ? - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 02:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1852910#M12197</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-04-24T02:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1854187#M12206</link>
      <description>&lt;P&gt;i want use the real uart print with terminal, you link only work with&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;semihosting console.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i already add this code, but no print on my terminal, please check , thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;int _write(int file, char *ptr, int len)&lt;BR /&gt;{&lt;BR /&gt;uint32_t bytesRemain;&lt;BR /&gt;size_t bytes=len;&lt;BR /&gt;unsigned char ret_car[]={"\r"};&lt;BR /&gt;LPUART_DRV_SendData(INST_LPUART1, ptr, bytes);&lt;BR /&gt;while(LPUART_DRV_GetTransmitStatus(INST_LPUART1, &amp;amp;bytesRemain) != STATUS_SUCCESS);&lt;BR /&gt;LPUART_DRV_SendData(INST_LPUART1, ret_car, 1);&lt;BR /&gt;while(LPUART_DRV_GetTransmitStatus(INST_LPUART1, &amp;amp;bytesRemain) != STATUS_SUCCESS);&lt;BR /&gt;return len;&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_1-1714011951259.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275703i92ACCE7E4E510062/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_1-1714011951259.png" alt="alice_thanks_1-1714011951259.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_1-1714011951259.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_0-1714011901496.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275701i175D6D9236F31579/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_0-1714011901496.png" alt="alice_thanks_0-1714011901496.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_0-1714011901496.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_2-1714012011554.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275704iA86D52991CE64BDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_2-1714012011554.png" alt="alice_thanks_2-1714012011554.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_2-1714012011554.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alice_thanks_3-1714012050280.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275705i958275C003247E3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alice_thanks_3-1714012050280.png" alt="alice_thanks_3-1714012050280.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alice_thanks_3-1714012050280.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 02:28:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1854187#M12206</guid>
      <dc:creator>alice_th</dc:creator>
      <dc:date>2024-04-25T02:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to add printf with console s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1855973#M12215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218113"&gt;@alice_th&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can use the example you posted. This example was designed for an older SDK, which can be flashed in S32DS.2018.R1 or you can create a new project (selecting GCC 6.3 compiler and EWL library) and copy over the configuration from the original post:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1714166809841.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276232i47B1F010735DF45B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1714166809841.png" alt="Julin_AragnM_0-1714166809841.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_0-1714166809841.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've shared the ported project for S32DS3.5 RTD3.0.0.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 21:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/how-to-add-printf-with-console-s32k144/m-p/1855973#M12215</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-04-26T21:27:33Z</dc:date>
    </item>
  </channel>
</rss>

