<?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: Create .log file in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Create-log-file/m-p/1896826#M37060</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215133"&gt;@DemaQasem&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that it is not supported. Check the following threads. They have information related to this topic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/td-p/721349" target="_blank" rel="noopener"&gt;undefined reference to `fopen'&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/How-it-is-possible-to-create-a-txt-file-in-s32-design/m-p/1149703" target="_blank" rel="noopener"&gt;How it is possible to create a txt file in s32 design?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 18:05:55 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2024-07-01T18:05:55Z</dc:date>
    <item>
      <title>Create .log file</title>
      <link>https://community.nxp.com/t5/S32K/Create-log-file/m-p/1896209#M37026</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using "Design Studio v3.4" to program an application on (s32k144 evb q100)&lt;/P&gt;&lt;P&gt;I tried to create a simple .txt file but when I debug and run the code it goes to "DefaultISR"&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;_______________________________________&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;FONT color="#993366"&gt;#include&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;&amp;lt;stdio.h&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;FONT color="#993366"&gt;#include&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;&amp;lt;stdlib.h&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;FONT color="#008000"&gt;FILE&lt;/FONT&gt; *fp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;FONT color="#993366"&gt;int&lt;/FONT&gt; main(&lt;FONT color="#993366"&gt;void&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&amp;nbsp; &lt;FONT color="#993366"&gt;for&lt;/FONT&gt;(;;)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&amp;nbsp; {&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;fp=&lt;FONT color="#993366"&gt;fopen&lt;/FONT&gt;("file2.txt", "a");&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#993366"&gt;fprintf&lt;/FONT&gt;(fp,&lt;FONT color="#0000FF"&gt;"I am writing to file2.txt \n"&lt;/FONT&gt;);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#993366"&gt;fclose&lt;/FONT&gt;(fp);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&amp;nbsp; }&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2024 13:31:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Create-log-file/m-p/1896209#M37026</guid>
      <dc:creator>DemaQasem</dc:creator>
      <dc:date>2024-06-29T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create .log file</title>
      <link>https://community.nxp.com/t5/S32K/Create-log-file/m-p/1896826#M37060</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215133"&gt;@DemaQasem&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that it is not supported. Check the following threads. They have information related to this topic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/td-p/721349" target="_blank" rel="noopener"&gt;undefined reference to `fopen'&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/How-it-is-possible-to-create-a-txt-file-in-s32-design/m-p/1149703" target="_blank" rel="noopener"&gt;How it is possible to create a txt file in s32 design?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 18:05:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Create-log-file/m-p/1896826#M37060</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-07-01T18:05:55Z</dc:date>
    </item>
  </channel>
</rss>

