<?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: mfs_sdcard examples not compiling? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165345#M934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thansk for the useful explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But don't you get another error after that?&lt;/P&gt;&lt;P&gt;I do ge tthe following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;L:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Warning&lt;BR /&gt;&amp;gt;Linker command file warning at line 138&lt;BR /&gt;&amp;gt;Object "__FLASHX_START_ADDR" has initial value. Assigning it to new location&lt;BR /&gt;&amp;gt;may have unexpected side effects&lt;BR /&gt;L:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Error&lt;BR /&gt;&amp;gt;Overflow in segment: rom from section: .main_application&lt;BR /&gt;&amp;gt;Segment reserved size is: 0x0000fbe0 -- Overflow of: 0x00002c44&lt;BR /&gt;L:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Error&lt;BR /&gt;&amp;gt;Link failed. ﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you have to change something else in MQX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2011 16:00:54 GMT</pubDate>
    <dc:creator>michele_novalia</dc:creator>
    <dc:date>2011-09-08T16:00:54Z</dc:date>
    <item>
      <title>mfs_sdcard examples not compiling?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165343#M932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again another example that doesn't seem to compile on my CW 10.1 run on Windows 7.&lt;/P&gt;&lt;P&gt;Is that just me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement a sample code using SD card and KwikStik K40x256 (although I read that SD card module in K40 is broken, but I could use TWR-K60N512).&lt;/P&gt;&lt;P&gt;I am trying to compile code shipped in Freescale_MQX_3.7\mfs\examples\sdcard﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In both cases (mfs_sdcard_twrk40x256 and mfs_sdcard_twrk60n512) I cannot compile the code as CW tells me:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;@@"Source/demo.args" -o "Source/demo.obj" -c "L:/Freescale/Freescale_MQX_3.7/mfs/examples/sdcard/demo.c" -MD -gccdepL:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Error(L:\Freescale\&lt;/P&gt;&lt;P&gt;Freescale_MQX_3.7\mfs\examples\sdcard\demo.c|54|0|0|2038|0)&lt;/P&gt;&lt;P&gt;=#error This application requires BSPCFG_ENABLE_ESDHC defined non-zero in user_config.h. Please recompile libraries with this option. &amp;nbsp;&amp;gt;preprocessor #error directive&lt;BR /&gt;Errors caused tool to abort.L:\Freescale\CW_MCU_v10.1\gnu\bin\make: *** [Source/demo.obj] Error 1﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that happen to everyone else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also... there is no user_config.h file in the project... what the error is about? where is that value picked from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 23:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165343#M932</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-09-07T23:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: mfs_sdcard examples not compiling?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165344#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mik,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to recompile the bsp and psp. I am working with the twr-k60n512. My psp and bsp are located in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;MQX 3.7\mqx\build\cw10\bsp_twrk60n512﻿ &amp;nbsp;and&amp;nbsp;MQX 3.7\mqx\build\cw10\psp_twrk60n512﻿ respectivley&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can set&amp;nbsp;BSPCFG_ENABLE_ESDHC﻿ to 1 in either of the projects as they reference the same file. After making the change recompile both the psp and bsp and they finally the example project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 01:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165344#M933</guid>
      <dc:creator>guyvdb</dc:creator>
      <dc:date>2011-09-08T01:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: mfs_sdcard examples not compiling?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165345#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thansk for the useful explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But don't you get another error after that?&lt;/P&gt;&lt;P&gt;I do ge tthe following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;L:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Warning&lt;BR /&gt;&amp;gt;Linker command file warning at line 138&lt;BR /&gt;&amp;gt;Object "__FLASHX_START_ADDR" has initial value. Assigning it to new location&lt;BR /&gt;&amp;gt;may have unexpected side effects&lt;BR /&gt;L:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Error&lt;BR /&gt;&amp;gt;Overflow in segment: rom from section: .main_application&lt;BR /&gt;&amp;gt;Segment reserved size is: 0x0000fbe0 -- Overflow of: 0x00002c44&lt;BR /&gt;L:/Freescale/CW_MCU_v10.1/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Error&lt;BR /&gt;&amp;gt;Link failed. ﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you have to change something else in MQX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 16:00:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165345#M934</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-09-08T16:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: mfs_sdcard examples not compiling?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165346#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solution is to build for internal flash, not for ram, as described in here:&lt;BR /&gt;&lt;A __default_attr="84984" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/84984" jivemacro="thread" title="https://community.freescale.com/thread/84984"&gt;https://community.freescale.com/thread/84984&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 16:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mfs-sdcard-examples-not-compiling/m-p/165346#M935</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-09-08T16:43:33Z</dc:date>
    </item>
  </channel>
</rss>

