<?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: sdcard_fatfs example in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/sdcard-fatfs-example/m-p/1040211#M3314</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/lessiffy@sjtu.edu.cn"&gt;lessiffy@sjtu.edu.cn&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking the&amp;nbsp;sdcardWaitCardInsert API this has the static modifier in it so that would explain you can use it outside the file you declare it. If you use this modifier the API will not be seen outside the same file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, this could be caused by creating other folders and not adding the paths to your project settings.&lt;/P&gt;&lt;P&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/51537iB1A8526B89E0C078/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2020 18:29:08 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2020-04-22T18:29:08Z</dc:date>
    <item>
      <title>sdcard_fatfs example</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/sdcard-fatfs-example/m-p/1040210#M3313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example, all the functions are put in one file.&amp;nbsp;I try to only leave the main function only.&amp;nbsp;For example, I put the function "status_t sdcardWaitCardInsert(void)" in board.c and it's declaration in board.h. All the necessary headers are included. But somehow when I transfer the functions to another file besides the main file, there will&amp;nbsp;always be&amp;nbsp;errors like "unknown type name 'sd_card_t'".&amp;nbsp;Same problem also appears in other sdcard exapmles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I found that simply added #include "fsl_sd_disk.h" to board.h and did nothing else would also cause the problem. I wonder why those functions work in main file but not in the others?And is there a way to solve it? Because I found it a mess when all the functions are in the main file;;))&lt;/P&gt;&lt;P&gt;Has anyone tried the same thing? Need some help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 07:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/sdcard-fatfs-example/m-p/1040210#M3313</guid>
      <dc:creator>lessiffy</dc:creator>
      <dc:date>2020-04-16T07:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: sdcard_fatfs example</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/sdcard-fatfs-example/m-p/1040211#M3314</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/lessiffy@sjtu.edu.cn"&gt;lessiffy@sjtu.edu.cn&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking the&amp;nbsp;sdcardWaitCardInsert API this has the static modifier in it so that would explain you can use it outside the file you declare it. If you use this modifier the API will not be seen outside the same file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, this could be caused by creating other folders and not adding the paths to your project settings.&lt;/P&gt;&lt;P&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/51537iB1A8526B89E0C078/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 18:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/sdcard-fatfs-example/m-p/1040211#M3314</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-04-22T18:29:08Z</dc:date>
    </item>
  </channel>
</rss>

